Just wondering if anyone is aware of a library out there to parse JSON strings in applescript, or else an effective way to do it in applescript via javascript?
Might be a bit late for you - but I’ve made a faceless background app that does just that.
http://code.google.com/p/json-helper/downloads/detail?name=JSONHelper.zip
So how would you integrate that with your Location helper?
tell application "Location Helper"
set current_location to reverse geocode location
tell application "JSON Helper"
set myRecord to read JSON from current_location
end tell
end tell
return myRecord
That is what I am trying to do, but when I try to read it, the returned result is “”
Am I doing something wrong?
EDIT: I figured it out.