Tech Tree of the Web

The history of web technology, 1945 to now: 112 ideas and the lines between them. Drag, scroll or press ← → to travel. Open any one for its story.

No. 060 / 112Seen 0 / 112Colophon

The Dynamic Web

JSON, 2002. Era IV, The Dynamic Web.

Era IV · 1999–2007

← drag · scroll · arrow keys →

2002{ }{ "name": "JSON", "values": [1, 2.5, "text"], "ok": true, "missing": null}

The whole format: objects, arrays, strings, numbers, true, false and null. Typeset for this timeline: no licence-clean photograph of the thing itself was found.

Key details

When
2002 (json.org went up late in 2002; first used privately in 2001; RFC 4627 July 2006)
Who
Douglas Crockford, with Chip Morningstar, at State Software
Where
State Software
Answered
It offered a lightweight, language-independent text format for data interchange, derived from JavaScript's object literal syntax.
Led to
It was standardized as RFC 4627, ECMA-404 and RFC 8259 and became the common payload format of web APIs.

No. 060 · 2002 · Script · Era IV, The Dynamic Web

JSON

Turned JavaScript's object syntax into a tiny data format that nearly every language can parse.

Facts

  1. Crockford sent the first JSON message in April 2001 with Chip Morningstar. 1
  2. The acronym originated at State Software, a company Crockford cofounded in March 2001; the cofounders voted between the names JSML and JSON. 1
  3. RFC 4627, written by Crockford of JSON.org and published in July 2006 as Informational, defined the application/json media type with UTF-8 as the default encoding. 2
  4. Ecma International published ECMA-404 in October 2013, and the IETF published RFC 8259 on December 13, 2017. 1
  5. JSON uses only six structural characters: square brackets, curly brackets, colon and comma. 2

Quirks

  • Crockford removed comments from JSON because he saw people using them to hold parsing directives. 1
  • Crockford's license said "The Software shall be used for Good, not Evil," which caused compatibility problems with other open-source licenses. 1

Sources

  1. Wikipedia, JSON
  2. Crockford, RFC 4627: The application/json Media Type for JavaScript Object Notation (JSON), July 2006
  3. Crockford, "The JSON Saga", 2011 talk (transcript by Mike Amundsen)
Came from
Led to