JSON JavaScript Object Notation is language independent, lightweight data-interchange format, "self-describing" and easy to understand. Json mainly use JavaScript syntax but it format in only text. just like XML. Text can be read and used as a data format by any programming language.

Advantage of JSON

  • It is easy to understand and use
  • It is alternative of XML.
  • It is is language independent, it means you can you JSON with any language.
  • It is a lightweight data-interchange format.

Uses of JSON

A common use of JSON is to read data from a web server, and display the data in a web page.