JSON Question:
Download Job Interview Questions and Answers PDF
Explain Syntax of JSON?
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" }
]
}
JSON CODE
{
"studeents": [
{ "firstName":"Ali" , "lastName":"Khan" },
{ "firstName":"John" , "lastName":"Sena" },
{ "firstName":"Kate" , "lastName":"Winslet" }
]
}
Download JSON Interview Questions And Answers
PDF
Previous Question | Next Question |
What is JSON? | How to convert JSON Text to a JavaScript Object? |