Module json

Source
Expand description

JSON data format.

See the crate level doc for an example of serializing and deserializing JSON.

Structs§

Array
A Vec<Value> with a non-recursive drop impl.
Object
A BTreeMap<String, Value> with a non-recursive drop impl.

Enums§

Number
A JSON number represented by some Rust primitive.
Value
Any valid JSON value.

Functions§

from_str
Deserialize a JSON string into any deserializable type.
to_string
Serialize any serializable type into a JSON string.