Hacker News new | ask | show | jobs
by TrianguloY 1415 days ago
Json comments is something I always wanted, for json files with data that you need. I even use regexp to remove them in some cases (where I know it won't conflict with the strings themselves).

Didn't knew about this json5 thing but I'll try to use it instead.

1 comments

If you just want comments (and trailing commas), there is also this: https://www.npmjs.com/package/jsonc-parser