Expand description
Serde between JSON text and Rust data structure.
Structs§
- A structure that deserializes JSON into Rust values.
- Represents a JSON number, whether integer or floating point.
- Represents a JSON number with arbitrary precision, like as Golang json.Number
- A structure for serializing Rust values into JSON.
Traits§
- Number trait for both
NumberandRawNumber.
Functions§
- Deserialize an instance of type
Tfrom bytes of JSON text. If user can guarantee the JSON is valid UTF-8, recommend to usefrom_slice_uncheckedinstead. - Deserialize an instance of type
Tfrom bytes of JSON text. - Deserialize an instance of type
Tfrom a string of JSON text. - 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.