Modules§
Macros§
Structs§
- Collect
Options - Options for collecting comments and tokens.
- Json
Array - A JSON array.
- Json
Object - A JSON object.
- Parse
Options - Options for parsing.
- Parse
Result - Result of parsing the text.
- Scanner
- Converts text into a stream of tokens.
Enums§
Functions§
- parse_
to_ ast - Parses a string containing JSONC to an AST with comments and tokens.
- parse_
to_ serde_ value - Parses a string containing JSONC to a `serde_json::Value.
- parse_
to_ value - Parses a string containing JSONC to a
JsonValue
.
Type Aliases§
- Comment
Map - Map where the comments are stored in collections where the key is the previous token end or start of file or next token start or end of the file.
- Map