3 ms·
I agree, it's better to just use JSON5. Having a mess where JSON parsers sometimes do, and sometimes don't allow comments is a bad outcome. JSON5 is advantage
by chippiewill 2y ago
I agree, it's better to just use JSON5.
Having a mess where JSON parsers sometimes do, and sometimes don't allow comments is a bad outcome.
JSON5 is advantageous because it's explicitly separate - it has a different file extension, it needs different libraries. Also it supports a few other utility features people want (like trailing commas) without bringing in the whole dangerous kitchen sink like YAML does.