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 Serializer and knows how to map from the serde data model to a Value type.

Enums

An error that can occur when attempting to serialize a type into a Value.

Functions

Attempt to convert a crate::Value into another type via serde.
Attempt to convert some type into a crate::Value via serde.