list in json example
Example 1: json example array
{
"name":"John",
"age":30,
"cars":[ "Ford", "BMW", "Fiat" ]
}
// Another exemple
{
"people": [
{
"website": "stackabuse.com",
"from": "Nebraska",
"name": "Scott"
},
{
"website": "google.com",
"from": "US",
"name": "Zuck"
}
]
}
Example 2: json example list of objects
{
"foos" : [{
"prop1":"value1",
"prop2":"value2"
}, {
"prop1":"value3",
"prop2":"value4"
}]
}