Json Notes:
Json Objects:
var me = {
"age" : "25",
"address" : "Kottawa",
"gender" : "male"
};
|
Json Arrays:
var family = [{
"name" : "Dimuthu",
"age" : "25",
"gender" : "male"
},
{
"name" : "Nadeesha",
"age" : "25",
"gender" : "male"
}];
|
JsonNeted Objects:
var family = {
"Dimuthu" : {
"sirname" : "Lanerolle",
"age" : "25",
"gender" : "male"
},
"Nadeesha" : {
"sirname" : "Lanerolle",
"age" : "25",
"gender" : "male"
}
}
|
No comments:
Post a Comment