Summary
- RFC 8259, December 2017, Standards Track, obsoletes the 2014 JSON specification and states the design goal: JSON was to be "minimal, portable, textual, and a subset of JavaScript".
- The document spends most of its weight on the difference between grammar and practice. Object names "SHOULD be unique", and the specification ties the ECMA-404 reference normatively not to make implementers consult it but "to emphasize that there are no inconsistencies in the definition of the term 'JSON text'".
- On numbers it is blunt: "A JSON number such as 1E400 or 3.141592653589793238462643383279 may indicate potential interoperability problems", because that number suggests the sender expects more precision than is widely available.
Grammar is the easy half
Saying what a JSON text looks like takes a page. Braces, brackets, commas, a string grammar, four literals, a number grammar. Any parser can be written against it in an afternoon.
The hard half is deciding which of the valid texts two independent systems can exchange without arguing. That is a different question from validity, and it is the question the specification actually answers.
Two documents, one grammar
JSON is defined twice: once by ECMA-404 and once by the IETF document. The specification points at the standard and explains that the reference is normative in an unusual sense: not because a reader must consult both, but to assert that the two definitions do not disagree.
Then it notes where they do differ in advice. ECMA-404 allows practices that the IETF text recommends avoiding "in the interests of maximal interoperability". A shared grammar with divergent recommendations is exactly what a widely used format looks like after twenty years.
The number that breaks on arrival
JSON has one numeric type, and implementations are allowed to limit range and precision. The specification names the practical ceiling: integers within a range set by double precision floats, roughly plus or minus nine quadrillion, are the interoperable set.
Anything beyond that may parse and still round. The number 1E400 is legal, and the specification says it should be read as a warning about the software that produced it.
Keys that repeat, keys that move
The specification says names inside an object should be unique, and that objects with unique names are interoperable in the sense that they can be understood without ambiguity. Duplicates are not forbidden by the grammar; they are simply a text whose meaning depends on the reader.
Ordering is treated the same way: nothing in the grammar requires an order, and software that depends on one is depending on an accident of its parser.
What the document refuses to add
No comments, no schema language, no way to express dates, binary data or precision beyond what a double holds. Each refusal kept the format small enough to be parsed everywhere, and moved the decisions into whatever conventions the applications invent on top.
That is the trade JSON made and kept. The specification's value is that it keeps naming the places where the trade shows, so that anyone building on the format can see the cracks instead of discovering them in production.
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






