I try to read a variable from a json. But this variable has the following syntax.
"id_nombre":{
Variables,
}
Looking at a serious example:
0_seccion:{
variables
}
My problem is that I do not know how to access this json. already try with:
objeto.id_nombre
objeto.'id_nombre'
objeto['id_nombre]
But in all it fails.
That's how I got the json back. It must have this format since the id identifies the section and names the component. And if this nomenclature is not followed, there may be a component with the same name.
What I want to do is:
var otra = variable.0-MenuComponent;