I have following structure for JSON data structure
[
[
{ city: x
patients: x
id: 1
},
{ city: y
patients: y
id: 2
}
],
[
{ city: x
patients: x
id: 1
},
{ city: y
patients: y
id: 2
}
]
]
Is this optimal data structure for my data, where each nested sub array represents a day, the nested objects are cities and the id are unique key for each city.
date, perhaps?