News for hackers. Stuff that matters.
Re:Fixing JSON by emilsedgh on Saturday August 20, 2016 @02:30PM (#12327758)
Ma­jor ir­ri­tan­t: Com­mas

I thought the major irritant was having to add double-quotes around keys? Commas never bothered me personally, but having to use double quotes is actually irritating.

Re:Fixing JSON by espadrine on Saturday August 20, 2016 @02:43PM (#12327816)
It comes from the flow of edition: remove the last element of a list (which typically is on its own line), forget about the fact that there is a comma at the end of the previous line.

But both optional commas and optional double-quotes are provided by Hjson <https://hjson.org/>. They do not advocate its use in protocols, however.

Re:Fixing JSON by smcl on Saturday August 20, 2016 @02:38PM (#12327800)
I was thinking the same thing - maybe I haven't hand-edited enough JSON but I have never felt like commas were any sort of issue at all
Re:Fixing JSON by oxplot on Saturday August 20, 2016 @03:29PM (#12327978)
Inability to add trailing commas creates two problems:

- You can forget to drop/add comma when copying an existing line - Adding/Removing last element shows up as two changes in diff