Expand description
Deserialize JSON data to a Rust data structure
Structs§
- Deserializer
- A structure that deserializes Rust values from JSON in a buffer.
Enums§
- Error
- This type represents all possible errors that can occur when deserializing JSON data
Functions§
- from_
slice - Deserializes an instance of type
T
from bytes of JSON text Returns the value and the number of bytes consumed in the process - from_
slice_ escaped - Deserializes an instance of type
T
from bytes of JSON text, using the provided buffer to unescape strings Returns the value and the number of bytes consumed in the process - from_
str - Deserializes an instance of type T from a string of JSON text
- from_
str_ escaped - Deserializes an instance of type T from a string of JSON text, using the provided buffer to unescape strings
Type Aliases§
- Result
- Deserialization result