3 ms·
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 confli
by TrianguloY 4y 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.
- JoshuaEN 4y agoIf you just want comments (and trailing commas), there is also this: https://www.npmjs.com/package/jsonc-parser https://www.npmjs.com/package/jsonc-parser