JavaScript Object Notation

It is similar to XML language. The communication between the client and server can also done by JSON format.

In JSON, values must be one of the following data types:

  • a string
  • a number
  • an object (JSON object)
  • an array
  • a boolean
  • null

In JavaScript values can be all of the above, plus any other valid JavaScript expression, including:

  • a function
  • a date
  • undefined


 It is string with certain format. The format is easy to follow and very important. The arrangements are key and values,


In the above example, name is key and payilagam is value. If you have more than one data, we can arrange it in comma separate,



In above example has collection object, it should be hold it in the curly braces.