Expand description
JSON parsing.
Parse is the entry point: Value::parse_str, Value::parse_slice and
friends return the parsed value together with a
CodeMap. When the code map is not needed, the
parse_str_value / parse_slice_value functions take a faster path
that skips span tracking.
Parsing is strict by default; Options relaxes surrogate and codepoint
handling.
Structs§
Enums§
Traits§
- Parse
- JSON parsing methods.
Functions§
- is_
whitespace - Checks if the given char
cis a JSON whitespace. - parse_
slice_ value - Parses a
Valuefrom&[u8]without building aCodeMap. - parse_
slice_ value_ with - Like
parse_slice_valuebut with a customOptions. - parse_
str_ value - Parses a
Valuefrom a&strwithout building aCodeMap. - parse_
str_ value_ with - Like
parse_str_valuebut with a customOptions.