I have a JSON and I need to know the name of my object and the values it has, for example:
{"Pessoas" :
[
{"Nome": "Welson Play", "Idade":19},
{"Nome": "Stephanie", "Idade":15},
{"Nome": "João Pedro", "Idade":17}
]
}
I needed to get the code name Pessoas
and the values that each person has, but this without knowing the name, for example, could be Animais
, Carros
. This is because my table in BD
columns can vary, that is, I can browse JSON
.