Expand description
Serialize a Rust data structure into JSON data
Structs§
- Serializer
- A structure that serializes Rust values as JSON into a buffer.
Enums§
- Error
- This type represents all possible errors that can occur when serializing JSON data
- Unreachable
- An unreachable type to fill the SerializeTupleVariant type
Functions§
- to_
slice - Serializes the given data structure as a JSON byte vector into the provided buffer
- 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