Module read Copy item path Source private π IoRead JSON input source that reads from a std::io input stream. Position SliceRead JSON input source that reads from a slice of bytes. StrRead JSON input source that reads from a UTF-8 string. Reference HEX0 π HEX1 π Fused Marker for whether StreamDeserializer can implement FusedIterator. 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. as_str π build_hex_table π decode_four_hex_digits π 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.