json5 / json5-spec

The JSON5 Data Interchange Format
https://spec.json5.org
MIT License
49 stars 11 forks source link

Dictionaries may have a single trailing comma. #27

Closed ThePix closed 4 years ago

ThePix commented 4 years ago

The readme says arrays may have a single trailing comma; what about dictionaries?

The argument for this is the same as it is for arrays (though I guess it is more common to use arrays).

This may already be the case, in which case the readme coiuld usefully be updated.

jordanbtucker commented 4 years ago

Thanks for submitting this issue, but are you sure you have the right repo? The readme for this repo just points to the spec, which does say that objects can have trailing commas. And the readme for the json5 library also mentions this.