I have the next JSON in JS
var intervalos= {
"operandos":[{
"extremoInferior":$(edit_numvar).context.value,
"extremoSuperior":$(edit_numvar2).context.value
},
{
"extremoInferior":$(edit_numvar3).context.value,
"extremoSuperior":$(edit_numvar4).context.value
}]
};
and I did parsed_input = json.loads(self.intervalos)
but now I don't know how to access to my dict. I tried with
intervalos[operandos][extremoInferior])
but it returns an error.
Could you help me for accessing to any element of my dict?
parsed_input. So you have to use that variable to retrieve your data. Rest is dictionary and list operation.