How do I make a JSON object with multiple arrays?

1 1 1 1 1 How do I make a JSON object with multiple arrays?5.00Rating 3.00 (2 Votes)

{
"cars": {
"Nissan": [
{"model":"Sentra", "doors":4},
{"model":"Maxima", "doors":4}
],
"Ford": [
{"model":"Taurus", "doors":4},
{"model":"Escort", "doors":4}
]
}

 

Source: https://stackoverflow.com/questions/11197818/how-do-i-make-a-json-object-with-multiple-arrays/11197949

You have no rights to post comments

Thursday the 23rd.