JSON Tutorial

Last Updated:

JSON History

JSON stands for 'JavaScript Object Notation' was originally specified by Douglas Crockford in the early 2000s.

What is JSON?

JSON is a very common data format used for the asynchronous exchange of data between web-server and JavaScript (browser).

JSON is not a new programming language. It is a part of JavaScript.

JSON is the only replacement of XML.

How JSON and XML Looks


The following example shows JSON representation of data using key-value mapping.

HTML Editor
[ { "name": "Mike", "age": 36}, { "name": "Alex", "age": 30} ]


The following example shows XML representation of data using node addressing.

XML Editor
<?xml version="1.0" encoding="UTF-8" ?> <root> <row> <name>Mike</name> <age>36</age> </row> <row> <name>Alex</name> <age>30</age> </row> </root>

Share this Page

Meet the Author