Skip to main content

Module json

Module json 

Source
Expand description

JSON and JSON5 support: the dialects, the syntax tree, and the backend.

JSON5 can express every annotation except dotted tables: bare identifier keys, // comments, and single-quoted literal strings. JSON can express none of them. Format::supports tells which, so rendering cannot fail.

Modulesยง

backend ๐Ÿ”’
The JSON and JSON5 backend of the generic merge.
cst ๐Ÿ”’
Concrete syntax tree of a JSON5 document.
lexer ๐Ÿ”’
Tokens of JSON5 source.
node ๐Ÿ”’
The syntax tree value as a node of the generic merge.
parser ๐Ÿ”’
Builds the syntax tree from tokens.

Enumsยง

Dialect ๐Ÿ”’