Expand description
Re-exports of serde_json serialization functions.
This module re-exports the generic serde serialization functions
so that one can serialize data structures other than Root without
being bound to a specific version of serde_json.
Functions§
- Serialize the given data structure as a String of JSON.
- Serialize the given data structure as a pretty-printed String of JSON.
- Convert a
Tintoserde_json::Valuewhich is an enum that can represent any valid JSON data. - 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.