4 ms·
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 su
by saagarjha 8y ago
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.
- function_seven 8y agoIf 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.