Introducing JSON

  • JSON Stands for JavaScript Object Notation.
  • JSON is used for exchanging and storing data.
  • JSON is an easier to use alternative to XML.
  • JSON is a lightweight data-interchange format.
  • JSON is language independent.
  • JSON is “self-describing” and easy to understand.

JSON example defines Students object with an array of three students:

The following XML example also defines Students object with 3 students records:

JSON Objects

Inside curly braces write json objects like:

JSON Array

Json array must be written inside square braces.

  • kumar

    please provide MVC

    • You mean MVC Tutorial ?

      • kumar


        • ASAP i will upload MVC Tutorial.

          • jasbir singh rana

            sir please upload tutorials for codeigniter

          • Thank you for your great suggestion ASAP will upload