@playkostudios/jsonc-ast
v0.1.5
Published
Experimental JSONC AST parser and encoder
Downloads
77
Readme
jsonc-ast
Experimental lossless JSONC AST parser and encoder. Uses jsonhilo
to tokenize
JSON, and then converts the tokens to easier-to-use objects. A JSONC tokenizer
is also provided to allow for optional JSONC support.
Note that this loses the benefits of using a streaming parser; the entire JSON
document is stored in memory. Using jsonhilo
may be more appropriate for your
use-case.
Source code: https://github.com/playkostudios/jsonc-ast NPM package: https://www.npmjs.com/package/@playkostudios/jsonc-ast
Building
pnpm run build