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
Serializer
and knows how to map from the serde data model to aValue
type.
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::Value
into another type via serde. - to_
value - Attempt to convert some type into a
crate::Value
via serde.