Skip to content

Experimental lossless JSONC AST parser and encoder

Notifications You must be signed in to change notification settings

playkostudios/jsonc-ast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Experimental lossless JSONC AST parser and encoder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published