Bundle
JSON parsing and building library. JsonParser reads JSON strings into a JsonElement tree; JsonBuilder constructs JSON documents using a stack-based API. Compile with -lib json.
Token->Type
The kind of a token read by the JSON scanner.
Items
- IDENT — A quoted string; the value is its text with the escapes decoded.
- INT_NUM — An integer number.
- FLOAT_NUM — A number with a fraction or exponent.
- BAD_NUM — Text that starts like a number but is not a valid one.
- TRUE — The literal true.
- FALSE — The literal false.
- NULL — The literal null.
- COMMA — A comma.
- OBR — An opening bracket.
- CBR — A closing bracket.
- OCBR — An opening brace.
- CCBR — A closing brace.
- PREN — Not produced by the scanner.
- COLON — A colon.
- OTHER — Any other character, or a string the scanner refused (the value is then the parse error).
- EOS — The end of the input.