Module serde_json::ser
source ยท Expand description
Serialize a Rust data structure into JSON data.
Structsยง
- This structure compacts a JSON value with no extra whitespace.
- MapKeySerializer ๐
- This structure pretty prints a JSON value to make it human readable.
- A structure for serializing Rust values into JSON.
Enumsยง
- Represents a character escape code in a type-safe manner.
Constantsยง
Staticsยง
- ESCAPE ๐
Traitsยง
- This trait abstracts away serializing the JSON control characters, which allows the user to optionally pretty print the JSON output.
Functionsยง
- format_escaped_str ๐
- indent ๐
- key_must_be_a_string ๐
- Serialize the given data structure as a String of JSON.
- Serialize the given data structure as a pretty-printed String of JSON.
- Serialize the given data structure as a JSON byte vector.
- Serialize the given data structure as a pretty-printed JSON byte vector.
- Serialize the given data structure as JSON into the I/O stream.
- Serialize the given data structure as pretty-printed JSON into the I/O stream.