3 ms·
Originally, many years ago, JSON didn't have a complete and unambiguous spec. It was just some webpage on some random website.
by megous 5y ago
Originally, many years ago, JSON didn't have a complete and unambiguous spec. It was just some webpage on some random website.
- kragen 5y agoMaybe you mean http://web.archive.org/web/20030228034147/http://www.crockford.com/JSON/index.html http://web.archive.org/web/20030228034147/http://www.crockfo...? That has a context-free grammar (which omits the syntax for literals), railroad diagrams (which includes it), a prose description, an example JSON document, and a public-domain sample implementation in Java. It's true that there are some holes in the spec, notably the definition of whitespace and the semantics, but it's fairly complete and unambiguous.
- megous 5y agoHmm, pretty good actually.