Discovered, not invented
Douglas Crockford says he didn't invent JSON but discovered it, in the spring of 2001.
Source: Douglas Crockford
Run it. Get results.
No tool matches that. Try another word.
Mathematics
Mathematics
Utilities
Utilities
Image
Image
Language
Language
Networking
Networking
Finance
Finance
Cybersecurity
Cybersecurity
Text
Text
Date
Date
Measurement
Measurement
Audio
Audio
Health
Health
Nutrition
Nutrition
Time
Time
Weather
Weather
Document Processing
Document Processing
Productivity
Productivity
Career
Career
Business
Business
Video
Video
Education
Education
Statistics
Statistics
Chemistry
Chemistry
Physics
Physics
Construction
Construction
Electrical Engineering
Electrical Engineering
Programming
Programming
Graphic Design
Graphic Design
Computer Science
Computer Science
Database
Database
Music
Music
Digital Electronics
Digital Electronics
Electronics Engineering
Electronics Engineering
A free JSON formatter and validator: paste JSON or open a .json file and it is checked as you type. A mistake is shown with its line and column and a plain-words reason (a trailing comma, single quotes, a missing comma, a comment). Format it with 2 or 4 spaces or tabs, minify it, sort the keys A to Z, browse it as a tree with each value's path, then copy or download it. Everything stays in your browser.
The usual causes: a comma after the last item, 'single quotes' instead of "double quotes", a missing comma between items, comments, or True/None from Python. The message says which, and where.
Format adds line breaks and indents so people can read it; minify removes all spaces so it is smallest for sending.
No: standard JSON has no comments. Remove them, or keep notes in a key such as "_comment".
No: it is checked and formatted in your browser, so API keys and data stay on your device. Still, avoid sharing JSON that holds passwords.
Up to 10 MB here; the desktop version opens files of any size.
Each object and array as a list you can open and close, with how many items it holds; click a value to see its path, such as $.items[0].name.
Douglas Crockford says he didn't invent JSON but discovered it, in the spring of 2001.
Source: Douglas Crockford
In 2002 Crockford acquired the json.org domain and put up a page describing the format.
Source: json.org (Douglas Crockford)
The earliest use Crockford knows of JavaScript literals for data transport was by Slava Galperin at Netscape, in June 1996.
Source: Douglas Crockford
RFC 4627, written by Douglas Crockford in July 2006, made "application/json" the media type for JSON.
Source: IETF (RFC 4627)
Ecma International published JSON as the standard ECMA-404, 1st edition in October 2013; it is also ISO/IEC 21778.
Source: Ecma International
RFC 8259 (2017) requires JSON exchanged between systems that aren't part of a closed ecosystem to be encoded in UTF-8.
Source: IETF (RFC 8259)
Keys and text need "double quotes", never 'single'.
No comma after the last item.
JSON has no comments: remove // and /* */.
true, false and null, in lowercase.
Minify before sending: smaller and faster.
Sort keys to compare two JSON files more easily.
The line and column point right at the mistake.
Don't share JSON with passwords or API keys in it.
Advertisements
Advertisements