Module de

Source
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