parsing json
Posted: Thu Jan 02, 2020 8:32 pm
Evening Livecoders
I wonder if anyone could help me with the following:-
I've previously had some success importing the json response from something and then extracting the info I wanted. However, this time, to many hours has got me nowhere, so here I am again.
The request is a variation on this- https://maps.googleapis.com/maps/api/di ... dVjYr8a9Ew
All I want to do extract the distance values for each location i.e. 24m / 0.7km, but apart from the addresses everything comes back blank.
It seems to be laid out differently to last time? before so I think I must be using the wrong keys or something.
As ever any help much appreciated.
Kind regards
Paul
I wonder if anyone could help me with the following:-
I've previously had some success importing the json response from something and then extracting the info I wanted. However, this time, to many hours has got me nowhere, so here I am again.
The request is a variation on this- https://maps.googleapis.com/maps/api/di ... dVjYr8a9Ew
All I want to do extract the distance values for each location i.e. 24m / 0.7km, but apart from the addresses everything comes back blank.
It seems to be laid out differently to last time? before so I think I must be using the wrong keys or something.
As ever any help much appreciated.
Kind regards
Paul