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.