Crate sp_serializer[−][src]
Substrate customizable serde serializer.
The idea is that we can later change the implementation to something more compact, but for now we’re using JSON.
Structs
| Error | This type represents all possible errors that can occur when serializing or deserializing JSON data. |
Functions
| encode | Serialize the given data structure as a JSON byte vector. |
| from_reader | Deserialize an instance of type |
| from_slice | Deserialize an instance of type |
| from_str | Deserialize an instance of type |
| to_string_pretty | Serialize the given data structure as a pretty-printed String of JSON. |
| to_writer | Serialize the given data structure as JSON into the IO stream. |
Type Definitions
| Result | Alias for a |