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
- a function
- a date
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.