0
how to parse a location from google geocode json?
I am able to get the JSON to return from the google API call, but when I attempt to use item function to parse the JSON, I am getting errors. I attempted to use the solution at Parsing formatted_address from Google Geocode JSON - Get help - Ninox Community, but the item function is throwing an error and not allowing me to save the field.
let JSON := null;
let googlecoder := http("GET", "https://maps.googleapis.com/maps/api/geocode/json?address=1600+" + 'Service Address' + "&key=" + API_KEY);
if googlecoder.error then
alert(text(googlecoder.error))
else
JSON := text(googlecoder.result)
end;
let ltest := parseJSON(JSON);
alert(JSON)
Reply
Content aside
- 2 yrs agoLast active
- 103Views
-
1
Following