JSON stands for Java Script Object Notation.
It is a lightweight and text-based format. Supports with UTF-8 and date-time information in ISO8601 format. It uses string value pairs for storing data.
JSON supports two structures.
1. Object
An object is an unordered collection of name-value pairs enclosed in {}.
Example:
{
"firstName":"Test",
"age":20,
"lastName":"Test"
}
2. Array
An Array is list of JSON values which can include objects enclosed in [].
{
"processed":true,
"records":[
{
"Name":"Test1",
"No":"1"
},
{
"Name":"Test2",
"No":"2"
}
],
"size":2
}