Expand description
A dynamic type to representing any valid JSON value.
Modules§
- Represents a parsed JSON array. Its APIs are likes
Vec<Value>
. - Represents a parsed JSON object.
Structs§
- Array represents a JSON array. Its APIs are likes
Array<Value>
. - Represents the JSON object. The inner implement is a key-value array. Its order is as same as origin JSON.
- Represents any valid JSON value.
Enums§
- JsonType is an enum that represents the type of a JSON value.
- ValueRef is a immutable reference helper for
Value
.
Traits§
- A trait for all JSON object or array values. Used by
Value
. - A trait for all mutable JSON values. Used by mutable
Value
. - A trait for all JSON values. Used by
Value
andLazyValue
.
Functions§
- Interpret a
sonic_rs::Value
as an instance of typeT
. - Convert a
T
intosonic_rs::Value
which can represent any valid JSON data.