@playkostudios/jsonc-ast
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @playkostudios/jsonc-ast

Weekly Downloads

21

Version

0.1.5

License

MIT

Unpacked Size

79.7 kB

Total Files

60

Last publish

Collaborators

  • rafern
  • playko