4 ms·
<https://seriot.ch/projects/parsing_json.html https://seriot.ch/projects/parsing_json.html> Much of the implementation divergence is the fault of underspecific
by pwdisswordfish9 5y ago
<https://seriot.ch/projects/parsing_json.html https://seriot.ch/projects/parsing_json.html>
Much of the implementation divergence is the fault of underspecification (though not all; some of it is just shoddy coding in its own right). The original RFC described only the grammar of JSON, not equivalence of JSON texts or normalization. Later specifications try to paper over that fact by specifying certain interoperability conditions without outright requiring them for conformance.