Expand description
A dynamic type to representing any valid JSON value.
Modules§
- array
- Represents a parsed JSON array. Its APIs are likes
Vec<Value>. - get
- object
- Represents a parsed JSON object.
Structs§
- Array
- Array represents a JSON array. Its APIs are likes
Array<Value>. - Object
- Represents the JSON object. The inner implement is a key-value array. Its order is as same as origin JSON.
- Value
- Represents any valid JSON value.
Enums§
- Json
Type - JsonType is an enum that represents the type of a JSON value.
- Value
Ref - ValueRef is a immutable reference helper for
Value.
Traits§
- Json
Container Trait - A trait for all JSON object or array values. Used by
Value. - Json
Value MutTrait - A trait for all mutable JSON values. Used by mutable
Value. - Json
Value Trait - A trait for all JSON values. Used by
ValueandLazyValue.
Functions§
- from_
value - Interpret a
sonic_rs::Valueas an instance of typeT. - to_
value - Convert a
Tintosonic_rs::Valuewhich can represent any valid JSON data.