Hello.
I was able to successfully geocode a big batch of addresses -- and extract the lat and long from the JSON -- thanks to the helpful explainer on Github. But I'm stuck on trying to extract info from "address_components" in the Google geocoder JSON. Specially, I'm trying to extract the info under types
[ "locality", "political" ] .
I've tried using value.parseJson().results[0].address_components[3].long_name -- and that sort of works. The problem is the info under that location in the array varies among the entries, so I end up pulling different categories from entry to entry.
Any help is greatly appreciated.