JSON Javascript AJAX jQuery HTML PHP Example MORE

JSON Tutorial


JSON stands for JavaScript Object Notation.JSON is used for storing and exchanging data between browser and server.

JSON is text, written with JavaScript object notation.

JSON supports array, object, string, number and values.

JSON Example:

{"employees":[  
 {"name":"Sonoo", "email":"sonoojaiswal1987@gmail.com"},  
 {"name":"Rahul", "email":"rahul32@gmail.com"},  
 {"name":"John", "email":"john32bob@gmail.com"}  
]} 

Advantages:

  • JSON is more compact and can be easily loaded in JavaScript.
  • JSON is very fast.
  • JSON is language independent
  • JSON is open source
  • JSON is lightweight
  • Provide support for all browsers

History:

  • Douglas Crockford specified the JSON format in the early 2000s.
  • The official website was launched in 2002.
  • In December 2005, Yahoo! started offering some of its web services in JSON.
  • JSON became an ECMA international standard in 2013.
  • The most updated JSON format standard was published in 2017.