Type Alias Json
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Referenced types: Value
Type alias for serde_json::Value, used as the universal JSON representation throughout NeMo Relay APIs.
Aliased Type
Referenced types: bool, Number, String, Vec, Value, Map
Variants
Null
Represents a JSON null value.
Bool(bool)
Referenced types: bool
Represents a JSON boolean.
Number(Number)
Referenced types: Number
Represents a JSON number, whether integer or floating point.
String(String)
Referenced types: String
Represents a JSON string.
Array(Vec<Value>)
Represents a JSON array.
Object(Map<String, Value>)
Referenced types: Map, String, Value
Represents a JSON object.
By default the map is backed by a BTreeMap. Enable the preserve_order feature of serde_json to use IndexMap instead, which preserves entries in the order they are inserted into the map. In particular, this allows JSON data to be deserialized into a Value and serialized to a string while retaining the order of map keys in the input.