3 ms·
Many implementations of JSON - especially the ones that parse human input - allow trailing commas for this exact reason.
by int_19h 8y ago
Many implementations of JSON - especially the ones that parse human input - allow trailing commas for this exact reason.
- rmetzler 8y agoYou may be right, some JSON parsers even support comments. But you never know which parser is strict and which not, because it's not part of the specification.