JSON : JavaScript Object Notation
Category: ProgrammingJSON stands for JavaScript Object Notation.
What is the Full Form of JSON?
JSON stands for JavaScript Object Notation.
What is JSON?
JSON stands for JavaScript Object Notation and it is a lightweight format for storing and sending the data over a network like HTTP or HTTPS. JSON also used when we want to send some data from a server to a web page or a Mobile Application.
JSON is "self-describing" or "User-define" and easy to understand data storage mechanism. JSON only supports Text/String data.
We can store the value of a property or a collection like arrays of user-defined data types.
How to create JSON?
An empty { } is a JSON Object, we use " " to write the property name at the left side of ":" and also use the same " " to put it's valued at the right side, for example, if we want to store an employee object with one property as Name so where is the JSON:
{
"Employee": { "Name": "Nitin Pandit" }
}
Or If we want an Array of Employees with multiple properties like Id, Name, and Salary to store in JSON:
{
"Employees": [
{ "Id": "101","Name": "Nitin", "Salary": "12345" },
{ "Id": "102", "Name": "Nishant", "Salary": "12345" }
]
}