Crate rome_json_parser

Source
Expand description

Extremely fast, lossless, and error tolerant JSON Parser.

Modules§

token_set

Macros§

token_set
Utility macro for making a new token set

Structs§

CompletedMarker
A structure signifying a completed node
JsonParse
A utility struct for managing the result of a parser job
Marker
A structure signifying the start of parsing of a syntax tree node
ParseDiagnostic
A specialized diagnostic for the parser
TokenSet

Enums§

ParsedSyntax
Syntax that is either present in the source tree or absent.

Traits§

BumpWithContext
NthToken
Token source that supports inspecting the ‘nth’ token (lookahead)
Parser
SyntaxFeature
A syntax feature that may or may not be supported depending on the file type and parser configuration
ToDiagnostic
TokenSource

Functions§

parse_json
parse_json_with_cache
Parses the provided string as JSON program using the provided node cache.