Expand description
Serde serialization and deserialization implementations for JSON values.
This module provides the to_value function for converting serializable Rust types
into [JsonValue] AST nodes, and from_value for deserializing [JsonValue] nodes
back into Rust types.
Structs§
- Serialize
Array - Helper for serializing JSON arrays.
- Serialize
Object - Helper for serializing JSON objects.
- Serialize
Variant - Helper for serializing JSON variants.
- Serializer
- Serializer for converting Rust types to JSON values.
Functions§
- from_
value - Converts a
JsonValueto a deserializable value of typeT. - to_
value - Converts a serializable value to a
JsonValue.