JSON Question:
Download Job Interview Questions and Answers PDF
Explain JSON Arrays?
Answer:
JSON arrays are written inside square brackets.
An array can contain multiple objects:
JSON Arrays
{
"studeents": [
{ "firstName":"Ali" , "lastName":"Khan" },
{ "firstName":"John" , "lastName":"Sena" },
{ "firstName":"Kate" , "lastName":"Winslet" }
]
}
An array can contain multiple objects:
JSON Arrays
{
"studeents": [
{ "firstName":"Ali" , "lastName":"Khan" },
{ "firstName":"John" , "lastName":"Sena" },
{ "firstName":"Kate" , "lastName":"Winslet" }
]
}
Download JSON Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain JSON Objects? | Explain Syntax of JSON using JavaScript? |