I have a JSON
that look like:
[{
"lat": 43.96063343238712,
"panoid": "sffcNG69c2kdZwEuYp1htw",
"lon": 3.098330084924494
}, {
"lat": 43.96052745649745,
"panoid": "2rJPv_r0gC5FBPLZK5vHDA",
"lon": 3.098487422195691
} and so on... ]
I want for each element (means pair of brackets), to add a key calc
that is equal to
(value of "lat") - 50
How could I do to update my JSON
like that? I guess I should convert the JSON
into a dictionary
. But how to proceed after?