How are you, I’ve been trying to find an answer for a while and without success.
I am trying to get the array of a series of objects and from here create a single list.
I think it’s easier to show it.
This is the json file to read:
{
"Mnix_Active": [
{
"area": "Citytes",
"name": "Ridemk"
},
{
"area": "City77",
"name": "Delivery"
}
],
"Storm": [
{
"area": "City152",
"name": "Rescue"
},
{
"area": "City22",
"name": "Resupply"
}
],
"Meganix": [
{
"area": "Park22",
"name": "Ride"
},
{
"area": "City25",
"name": "Ride"
}
]
}
and get it like this::
[
{
"area": "Citytes",
"name": "Ridemk"
},
{
"area": "City77",
"name": "Delivery"
},
{
"area": "City152",
"name": "Rescue"
},
{
"area": "City22",
"name": "Resupply"
},
{
"area": "Park22",
"name": "Ride"
},
{
"area": "City25",
"name": "Ride"
}
]