JSON Question:

Explain Syntax of JSON?

JSON Interview Question
JSON Interview Question

Answer:

JSON is smaller than XML, and faster and easier to parse. Below is a basic syntax of JSON
JSON CODE
{
"studeents": [
{ "firstName":"Ali" , "lastName":"Khan" },
{ "firstName":"John" , "lastName":"Sena" },
{ "firstName":"Kate" , "lastName":"Winslet" }
]
}


Previous QuestionNext Question
What is JSON?How to convert JSON Text to a JavaScript Object?