Hi devs,
I'm working with a project that receives JSON responses
Everything is working perfectly but my problem is in handling the incoming data
I can not manipulate the data because I get them inside an unnamed [] array
I would like to know if there is any way to get the information without handling this array in javascript.
Example of the array below.
[{
"id": 7647,
"codigo": "78937680",
"descricao": "Pel\u00edcula de Raios Omega",
"quantidade1": 10,
"imagem_principal": {
"id": "_20181018020358990",
"url": "http:\/\/someurl",
"principal": true
},
"vip": 150,
"custo_utilizado": 3,
"filhos": [{
"id": 7648,
"codigo": "",
"descricao": "Pel\u00edcula de Raios Omega - MATRIZ",
"quantidade1": 50,
"codigo_grade": "0001"
}, {
"id": 7649,
"codigo": "",
"descricao": "Pel\u00edcula de Raios Omega - QUIOSQUE 1",
"quantidade1": 50,
"codigo_grade": "0002"
}, {
"id": 7650,
"codigo": "",
"descricao": "Pel\u00edcula de Raios Omega - QUIOSQUE 2",
"quantidade1": 50,
"codigo_grade": "0003"
}]}]