Expand description
Serialize a Rust data structure into JSON data
Structs§
- Serializer
- Serializer implements serde::ser::Serializer and allows us to serialize a serde struct into JSON
Enums§
- Error
- This type represents all possible errors that can occur when serializing JSON data
- Unreachable
- Unreachable is a placeholder for features that are not supported (and should be unreachable, unless you use unsupported serde flags)
Functions§
- to_
string - Serializes the given data structure as a string of JSON text
- to_vec
- Serializes the given data structure as a JSON byte vector
Type Aliases§
- Result
- Serialization result