Expand description
Serializing and deserializing a crate::Value into/from other types via serde.
Structs§
- Deserializer
Error - An opaque error to describe in human terms what went wrong. Many internal serialization/deserialization errors are relayed to this in string form, and so we use basic strings for custom errors as well for simplicity.
- Value
Serializer - This struct implements
Serializerand knows how to map from the serde data model to aValuetype.
Enums§
- Serializer
Error - An error that can occur when attempting to serialize a type into a
Value.
Functions§
- from_
value - Attempt to convert a
crate::Valueinto another type via serde. - to_
value - Attempt to convert some type into a
crate::Valuevia serde.