Expand description
Deserialize JSON data to a Rust data structure.
MacrosΒ§
- check_
recursion π - deserialize_
number π - deserialize_
numeric_ πkey - if_
checking_ πrecursion_ limit - overflow π
StructsΒ§
- Deserializer
- A structure that deserializes JSON into Rust values.
- IoRead
- JSON input source that reads from a std::io input stream.
- MapAccess π
- MapKey π
- Only deserialize from this after peeking a βββ byte! Otherwise it may deserialize invalid JSON successfully.
- SeqAccess π
- Slice
Read - JSON input source that reads from a slice of bytes.
- StrRead
- JSON input source that reads from a UTF-8 string.
- Stream
Deserializer - Iterator that deserializes a stream into multiple JSON values.
- Unit
Variant πAccess - Variant
Access π
EnumsΒ§
- Parser
Number π
StaticsΒ§
- POW10 π
TraitsΒ§
- Read
- 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Β§
- from_
reader - Deserialize an instance of type
T
from an I/O stream of JSON. - from_
slice - Deserialize an instance of type
T
from bytes of JSON text. - from_
str - Deserialize an instance of type
T
from a string of JSON text. - from_
trait π