Value | Meaning |
---|---|
init0 | Default options - track token location and only use double to represent numbers |
noTrackLocation1 << 0 | Counts lines and columns while lexing the source |
noThrow1 << 1 | Uses JSONToken.Kind.error instead of throwing exceptions |
useLong1 << 2 | Use long to represent integers |
useBigInt1 << 3 | Use BigInt to represent integers (if larger than long or useLong is not given) |
specialFloatLiterals1 << 5 | Support "NaN", "Infinite" and "-Infinite" as valid number literals |
Flags for configuring the JSON lexer.
These flags can be combined using a bitwise or operation.