objectiveai-cli-sdk 2.0.5

Library surface for objectiveai-cli: structured JSON Lines output types.
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

/// Result of a user-supplied jq filter applied to a config getter.
/// `jq` is the one explicit escape hatch for untyped JSON: the filter
/// can produce literally any shape, so the body is `serde_json::Value`.
/// Wire: `{"type":"notification","jq":<value>}`.
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct JqResults {
    pub jq: serde_json::Value,
}