Expand description
§core-json
Traits
Traits for working with objects which may be deserialized from JSON.
Internally, this uses the core-json
crate. That
crate focuses on being minimal, only offering a dynamically-typed view as
JSON-serialized data is processed. This crate additionally adds traits for
deserializing into typed objects, with an optional alloc
feature in order to
provide implementations over Vec
.
For automatic derivation of JsonDeserialize
, please see
core-json-derive
.
Structs§
- Array
Iterator - An iterator over an array.
- Const
Stack - A non-allocating
Stack
. - Deserializer
- A deserializer for a JSON-encoded structure.
- Field
Iterator - An iterator over fields.
- Value
- A JSON value.
Enums§
- Json
Error - An error incurred when deserializing.
- State
- An item within the stack, representing the state during deserialization.
Traits§
- Bytes
Like - An item which is like a
&[u8]
. - Json
Deserialize - An item which can be deserialized from a
Value
. - Json
Structure - A structure which can deserialized from a JSON serialization.
- Stack
- A trait representing a stack.