"> Objects may have a single trailing comma."
Any arguments against this one? My knee jerk reaction is 'yay'
Any arguments against this one? My knee jerk reaction is 'yay'
JSON isn't English. The comma doesn't mean what it does in English, so I don't see why a period would be appropriate either.
Useless from the perspective of a wire format, but nice for things like config files, which seem to be the use cases json5 is targeting.
[0] Bullet pt 3: https://betterprogramming.pub/5-essential-takeaways-from-the...
I guess it facilitates low effort scripting that doesn't have to treat the last element differently.