Module serde_json::read
source · 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 π
- build_
hex_ πtable - decode_
hex_ πval_ slow - error π
- ignore_
escape πParses a JSON escape sequence and discards the value. Assumes the previous byte read was a backslash. - is_
escape π - next_
or_ πeof - parse_
escape πParses a JSON escape sequence and appends it into the scratch space. Assumes the previous byte read was a backslash. - parse_
unicode_ πescape Parses a JSON \u escape and appends it into the scratch space. Assumes\u
has just been read. - peek_
or_ πeof - push_
wtf8_ πcodepoint 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.