Modules§
- private 🔒
Structs§
- 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.
Enums§
Statics§
Traits§
- Marker for whether StreamDeserializer can implement FusedIterator.
- 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§
- as_str 🔒
- error 🔒
- Parses a JSON escape sequence and discards the value. Assumes the previous byte read was a backslash.
- Parses a JSON escape sequence and appends it into the scratch space. Assumes the previous byte read was a backslash.
- Parses a JSON \u escape and appends it into the scratch space. Assumes
\u
has just been read. - Adds a WTF-8 codepoint to the end of the buffer. This is a more efficient implementation of String::push. The codepoint may be a surrogate.