Professional Documents
Culture Documents
JSON in 2 Minutes
JSON in 2 Minutes
JavaScript Object Notation is a standard text based data format used in web
development to send and receive the data.
String
Number
Arrays
Null
Boolean
Object
-> JSON.parse(): Takes JSON string and convert into java script object.
-> JSON.stringify(): Convert JSON into JSON string(useful while sending over
the network).
{
“name” : “Robert”,
“technologies” : [“c”, “cpp”, “php”, “java script”],
“salary”:1000000,
“relationship”:null,
“address”:{
“city”:“New York”,
“block” : 25,
“street” : “7th street”,
“pincode” : 100003
}
}