{
"4": {
"struttura": "Museo Archeologico",
"casse": [{
"id": "5",
"nome": "Cassa a Terra DEMO"
}]
},
"5": {
"struttura": "Museo Fabrice",
"casse": [{
"id": "6",
"nome": "Cassa Fabrice"
}]
}}
i have this object in javascript. is it possible to have "casse", based on the key (4, or 5)
2
Answers
The following should do the trick as @Bravo described:
This will get you there even when the key is a number