Code: Select all
#! This does not work for mobile.
function fGetStreetAddress pJson
-- Neither of the following two calls will work.
-- put jsonimport(tApiReturnedJson) into taApiReturnedArray
put JSONToArray(pJson) into taReturnedArray
--
put taReturnedArray["results"][1]["formatted_address"] into tReturnData
return tReturnData
end fGetStreetAddress