// JSON array
[ "apple", "mango", "banana"]
// JSON array containing objects
[
{ "name": "John", "age": 22 },
{ "name": "Peter", "age": 20 }.
{ "name": "Mark", "age": 23 }
]
{
"employees":[
{"firstName":"mohammad", "lastName":"alshraideh"},
{"firstName":"Anna", "lastName":"Smith"},
{"firstName":"Peter", "lastName":"Jones"}
]
}
{
"array": [{1,2,3,4,5,6}]
}
"users":[
{"firstName":"John", "lastName":"Abrahm"},
{"firstName":"Anna", "lastName":"Smith"},
{"firstName":"Shane", "lastName":"Warn"}
]
const Object = {a:1,
b:'ab'
};
const Array = [1,
'ab',
4
];
'["Ford", "BMW", "Fiat"]'