3 ms·
JSONC allows comments and trailing commas, but adoption seems to be low. VSCode uses it for configuration, but when I wanted to use it in Python (to add contex
by skrtskrt 4y ago
JSONC allows comments and trailing commas, but adoption seems to be low.
VSCode uses it for configuration, but when I wanted to use it in Python (to add context to source-controlled Elasticsearch schemas) there were only a couple old barely-maintained libraries for parsing.
- yunohn 4y ago> there were only a couple old barely-maintained libraries for parsing. Do they work, though? If it’s a mostly stable standard, doesn’t seem like you’d need a frequently updated parser.
- nicoburns 4y agoYou can often find better maintained libraries for json5, which is a superset of jsonc