Skip to content

JSON Activities

Version: 1.0.4  ·  ID: zoan-packages-json  ·  Author: Zoan Software

The JSON package reads and writes JSON files, the most widely used data format on the web and in APIs. Unlike plain text, JSON is loaded already structured (as dictionaries and lists), ready to read by its keys.

JSONValue in Zoan Automation
Object { … }Dictionary (Dictionary) with text keys
Array [ … ]List (List)
String "…"string
Integer 42integer (long)
Decimal 3.5decimal (double)
true / falsebool
nullnull

Writing does the reverse, and a DataTable is saved as an array of objects (one entry per row, column → value).

In expressions, navigating a dictionary or list is safe: a missing key or an out-of-range index returns an empty value instead of failing.

ActivityTypeOutputWhat it does
Read JSONread-jsonobjectReads a JSON file and returns it structured
Write JSONwrite-jsonstringSaves a value as JSON
  • Read JSON — load a JSON file.
  • HTTP — consume JSON from an API.
  • XML — for XML data.