Expand description
JSON serialization / deserialization with serde
.
See crate ::serde_json
.
Modules§
- Deserialize JSON data to a Rust data structure.
- When serializing or deserializing JSON goes wrong.
- A map of String to serde_json::Value.
- Serialize a Rust data structure into JSON data.
- The Value enum, a loosely typed way of representing any valid JSON value.
Macros§
- Construct a
serde_json::Value
from a JSON literal.
Structs§
- A structure that deserializes JSON into Rust values.
- This type represents all possible errors that can occur when serializing or deserializing JSON data.
- Represents a JSON key/value type.
- Represents a JSON number, whether integer or floating point.
- A structure for serializing Rust values into JSON.
- Iterator that deserializes a stream into multiple JSON values.
Enums§
- Represents any valid JSON value.
Functions§
- Deserialize an instance of type
T
from an I/O stream of JSON. - Deserialize an instance of type
T
from bytes of JSON text. - Deserialize an instance of type
T
from a string of JSON text. - Interpret a
serde_json::Value
as an instance of typeT
. - Serialize the given data structure as a String of JSON.
- Serialize the given data structure as a pretty-printed String of JSON.
- Convert a
T
intoserde_json::Value
which 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.
Type Aliases§
- Alias for a
Result
with the error typeserde_json::Error
.