Can I store JSON into Memory Variable ?
I have a Json like
{
"Eventos": [
{
"id": 14,
"nome": "Enduro De Verão",
"dtProva": "02/11/2025 09:00:00",
"cidade": "Desenvolvimen,TO",
"ComCamisa": "True",
"ComZequinha": "False",
"ComPARQ": "False",
"ComMeia": "False",
"ComPlaca": "False",
..... (many others)
"ComInstagram": "True"
},
{
"id": 69,
"nome": "Enduro de Paris",
"dtProva": "08/11/2025 09:00:00",
"cidade": "Paris,FR",
"ComCamisa": "True",
"ComZequinha": "False",
"ComPARQ": "False",
"ComMeia": "False",
"ComPlaca": "False",
..... (many others)
"ComInstagram": "True"
},
]
}
I want to have one LIST variable with this JSON results.. and like this I have not to create ONE LIST Varible for each flag called COM (means with)
Now I´m creating like this
data.Eventos.flatMap(item => item.nome) set Eventos
data.Eventos.flatMap(item => item.id) set EventosIDs
one varible for each JSON entry ...
If I can have a ARRAY for each
#json
2 Replies