News for hackers. Stuff that matters.
Re:The rise and rise of JSON (2017) by saagarjha on Friday August 24, 2018 @02:23AM (#17833151)
Of course, JSON has its own share of issues too, largely as a result of it trying to be as simple as possible. Many JSON parsers support nonstandard features such as comments and trailing commas, and in the process, create mutually incompatible "dialects". XML might be verbose and complicated, but I think JSON unfortunately is a bit too far in the other direction.
Re:The rise and rise of JSON (2017) by function_seven on Friday August 24, 2018 @03:08AM (#17833296)
If a JSON parser ignores the JSON spec, is it the spec that went too far in the other direction? Or is that parser just badly-written? (Or misguidedly lenient?)

You could say the same for an XML parser that allows a naked '&' between tags, or continues parsing a document that omits a closing tag somewhere.

Your complaint is probably still valid, but I'd say it's better directed at the culture than the specs.