JSON (Java Script Object Notation)
What is JSON
JSON standards for JavaScript Object Notation.It's syntax is as follows:
It is used to store and transfer data from client to server using minimum memory and in a standard format.
eg,
{",
"joglekar" : ["Siddhesh", "Dhanu", "Arya" , "Swara"],
"shirodkar" : ["Gaurav","Vinyak',"Neema","Meena"];
}
It is evident from the above example that a JSON object consists of a set of "<property>":"<value>"
The property sbould be endorsed in inverted commas.
The value can be any JavaScript type:-
i.e., it can be one of the following:
- array
- boolean
- string
- object
- function
- number
Comments
Post a Comment