How to read JSON files

时间:2017-04-10 01:20:50

标签: java json eclipse http jackson

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 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

debug screenshots debug screenshots

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

1 个答案:

答案 0 :(得分:0)