Trailing commas are supported in json5, as well as comments
Comment on Show me a better text format for serializing
jjjalljs@ttrpg.network 1 year agoYes, but whoever decided that json can’t have trailing commas has my ire.
{ "a": 1, "b": 2, <-- nope }
There was some other pitfall I can’t remember around missing keys and undefined, too, but I can’t remember it now.
adambowles@feddit.uk 1 year ago
Sgtmoustache@lemmy.world 1 year ago
I’m pretty sure you can have trailing commas…
OmnipotentEntity@beehaw.org 1 year ago
Change to Haskell formatted commas and the problem goes away :D
ursakhiin@beehaw.org 1 year ago
Where is the nearest fire to dump this comment in?