serde_json

Module de

source
Expand description

Deserialize JSON data to a Rust data structure.

Structs§

  • A structure that deserializes JSON into Rust values.
  • JSON input source that reads from a std::io input stream.
  • JSON input source that reads from a slice of bytes.
  • JSON input source that reads from a UTF-8 string.
  • Iterator that deserializes a stream into multiple JSON values.

Traits§

  • Trait used by the deserializer for iterating over input. This is manually “specialized” for iterating over &[u8]. Once feature(specialization) is stable we can use actual specialization.

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.