Origins

Who Invented JSON? A Brief History of the Data Format

Discover JSON’s JavaScript roots, Douglas Crockford’s role, and the standards that turned a small data notation into a shared language for software.

THE KEY IDEA

Douglas Crockford helped formalize and popularize JSON, but describes discovering an existing idea in JavaScript rather than inventing a language from scratch.

Was JSON invented or discovered?

Ask who invented JSON and Douglas Crockford is the name you will usually encounter. The more accurate story is about recognizing a useful pattern, removing unnecessary features, and giving other programmers a dependable way to exchange data.

In his own account, Crockford points to Lisp and Rebol as languages whose syntax could represent portable data structures. He recognized a similar possibility in JavaScript and says he was probably not the first to notice it. That distinction matters: JSON grew from an existing notation, while documenting and promoting it made that notation easier to share.

Think of a team agreeing to exchange a list of product names and prices. They need a common spelling for the data, not an entire program that the receiving team must run. Separating those two concerns is the central idea behind JSON.

References: Douglas Crockford: Questions & Answers, question 1

The JavaScript roots of JSON

JSON’s name stands for JavaScript Object Notation. Its syntax comes from JavaScript object literals, with roots in the third edition of ECMAScript, published in December 1999. The resulting data format is independent of the language that inspired it.

Here is an original example of the kind of message that makes the idea practical. A browser, a Python service, or a Java application can interpret the same product information using an appropriate JSON parser. Neither party needs to know how the other application stores its objects internally.

The message describes a product; it does not define a method for purchasing one. That boundary lets a small document cross an application boundary without carrying the sender’s implementation along with it.

A small, language-independent message
{
  "product": "Notebook",
  "price": 12.5,
  "inStock": true,
  "tags": ["paper", "office"]
}

References: RFC 8259: JSON interoperability and syntax

A short JSON standards timeline

JSON did not become useful on the day of one standards publication. Specifications gave an already useful notation a clearer reference point. These milestones help distinguish its JavaScript ancestry from its later formal documentation.

  • 1999: ECMAScript’s third edition provides the JavaScript object-literal background from which JSON was derived.
  • 2006: Douglas Crockford authors RFC 4627, documenting JSON and registering the application/json media type. It was an Informational RFC, not an Internet Standard.
  • 2013: Ecma publishes the first edition of ECMA-404, defining JSON’s syntax.
  • 2017: RFC 8259 and the second edition of ECMA-404 provide aligned descriptions of the format. RFC 8259 also gives interoperability guidance.

References: IETF: RFC 4627, July 2006 · Ecma International: ECMA-404 editions · RFC 8259: JSON interoperability and syntax

Why a small format travels well

A useful way to understand JSON’s appeal is to look at the coordination it removes. A team can inspect a message in a text editor, keep a fixture in version control, and discuss a field name without first learning the producer’s programming language. These are practical advantages of the design, rather than proof that JSON is the best format for every job.

The same simplicity creates work for application designers. The product message above does not say which currency the price uses, whether a missing stock flag means false, or whether product names must be unique. Those decisions belong in documentation and contracts.

When you read a JSON file today, you are seeing both parts of that history: a deliberately small notation and a much larger ecosystem of conventions built around it. Start by formatting the message, inspect its structure, and then ask what the fields mean. Understanding both the notation and the agreement is what makes data exchange reliable.

Put it into practice

Explore the examples in your own browser. Core JSON processing stays on your device.

Continue learning: What is JSON?.

All articles