Module scale_value::serde
source · Expand description
Serializing and deserializing a crate::Value into/from other types via serde.
Structs
- 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.
- This struct implements
Serializerand knows how to map from the serde data model to aValuetype.
Enums
- An error that can occur when attempting to serialize a type into a
Value.
Functions
- Attempt to convert a
crate::Valueinto another type via serde. - Attempt to convert some type into a
crate::Valuevia serde.