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.
How values are converted
Section titled “How values are converted”| JSON | Value in Zoan Automation |
|---|---|
Object { … } | Dictionary (Dictionary) with text keys |
Array [ … ] | List (List) |
String "…" | string |
Integer 42 | integer (long) |
Decimal 3.5 | decimal (double) |
true / false | bool |
null | null |
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.
Activities
Section titled “Activities”| Activity | Type | Output | What it does |
|---|---|---|---|
| Read JSON | read-json | object | Reads a JSON file and returns it structured |
| Write JSON | write-json | string | Saves a value as JSON |