Mobirise

JSON Helper

JSON Helper is an agent which allows you to do useful things with JSON (JavaScript Object Notation) directly from AppleScript.

JSON Helper has no interface, and runs in the background waiting for AppleScripts to ask it to do something. JSON Helper is by far the easiest way to work with JSON in AppleScript.

JSON Helper lets you convert JSON directly into AppleScript records, lists and strings, and convert AppleScript records, lists and strings into JSON.

JSON Helper also makes it easy to parse the responses of many popular web services directly into AppleScript with convenience methods for fetching and parsing the responses from URLs.

Mobirise

Commands & Examples

JSON Helper has three commands:

fetch JSON from
This parses JSON supplied by a url straight into an AppleScript record or list. Useful for interrogating web services directly from AppleScript. Optional basic HTTP authentication is supported if the web service requires it.

read JSON from
This parses JSON supplied as a string straight into an AppleScript record or list.

make JSON from
This converts an AppleScript record or list onto a JSON string

Download example scripts

Free AI Website Maker