Questions Columns Rows
GitHub icon


JSON - Data notation

< >

JSON is a data notation created in 2001 by Douglas Crockford.

#17on PLDB 22Years Old 133Repos

In computing, JavaScript Object Notation or JSON ( JAY-s蓹n), is an open-standard file format that uses human-readable text to transmit data objects consisting of attribute鈥搗alue pairs and array data types (or any other serializable value). It is a very common data format used for asynchronous browser鈥搒erver communication, including as a replacement for XML in some AJAX-style systems. JSON is a language-independent data format. Read more on Wikipedia...

Example from hello-world:
{ "hello": "world" }
Example from Linguist:
{ "id": 1, "name": "Foo", "price": 123, "tags": ["Bar","Eek"], "stock": { "warehouse":300, "retail":20 } }
Example from Wikipedia:
var y = {a: undefined}; var ys = JSON.stringify(y, function (k, v){return (v === undefined) ? "UNDEFINED" : v});

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Stats Sponsor Traffic Traffic Today Day 267 Logout