2 ms·
An informative article. The point is not that parsing JSON is "hard" in any sense of the word. It's that it's underspecified, which leads to parsers disagreei
by dgreensp 10y ago
An informative article. The point is not that parsing JSON is "hard" in any sense of the word. It's that it's underspecified, which leads to parsers disagreeing.
Although the syntax of JSON is simple and well-specced:
* The semantics are not fully specified
* There are multiple specs (which is a problem even if they are 99% equivalent)
* Some of the specs are needlessly ambiguous in edge cases
* Some parsers are needlessly lenient or support extensions