4 ms·
> Every attempt to change JSON has and should be shot down. I really wish JSON allowed for final trailing commas in arrays/objects. It would make for more rea
by rollcat 3y ago
> Every attempt to change JSON has and should be shot down.
I really wish JSON allowed for final trailing commas in arrays/objects.
It would make for more readable diffs, simpler text templating, easier writing/parsing for us humans, etc. I'd happily trade all of TOML, YAML, XML, and every other similar format in existence for that one change.
- ghusto 3y agoIt makes generating from templates in certain (many!) instances needlessly difficult. I say needlessly, because the rule is seemingly arbitrary. I can't see what purpose it serves.