I have a result from Google GeoCode in format of JSON as shown image#1. I am interested in the values indicated in red line.
I tried unsuccefully to do in way shown in image#2
Received JSOn and code to read
Here is interesting thing on debug, variables i am interested are NOT in 'variable' filed as shown in image#4
But if i click to top element, it shows the elements which are invisible, image#4
So, How can i get only interested fields form JSON HTTP response ?
Disclaimer:Due to less reputation only 2 links are allowed so need to merge picture
答案 0 :(得分:0)
I think you are looking for something like this;
Sample Boilerplate Code to Parse GeoCode API Response and extract necessary parameter values