Home > DeveloperSection > Interviews > Explain JSON Syntax using JavaScript?

Posted on    May-29-2013 2:45 AM

 JSON JSON 
Ratings:
 1 Answer(s)
  1883  View(s)
Rate this:

AVADHESH PATEL

Total Post:257

Points:1285
Posted on    May-29-2013 12:00 AM

JSON is smaller than XML, and faster and easier to parse. Below is a basic syntax of JSON

JSON CODE
{
"student":[
{"firstName":"Samuel","lastName":"Fernandes"},
{"firstName":"Takeshi","lastName":"Okada"},
{"firstName":"Jacob","lastName":"Rasel"}
]
}


Don't want to miss updates? Please click the below button!

Follow MindStick