JSONC is a superset of JSON which supports comments ↦
JSON formatted files are readable to humans but the lack of comments decreases readability. With JSONC, you can use block (
/* */) and single line (
//) comments to describe the functionality. Microsoft VS Code also uses this format in their configuration files like
This is a Go-only implementation, but the concept is portable to any language (hint, hint).
Sign in or Join to comment or subscribe
I think this has existed in other languages for years. https://github.com/Microsoft/node-jsonc-parser for JS for example.