I want to parse the addresses from the JSON response (http://maps.googleapis.com/maps/api/geocode/json?address=public+library+san+diego&sensor=false) received from Geocoding API in my android application.
Can anyone help me out on how to parse the response and display it in a list view?
Highly appreciate your help.
You can use gson to handle the JSON response.
The gson user guide gives examples of how to do this, but basically you will need to create a Java class that matches the structure of the JSON response object.
Once this is done you should have a list of address objects in some shape or form (for example you might just use the formatted address attribute of the response) with which you can initialize your ListAdapter.