Actions2
Decode TOON
AI-generatedSummary
Decode a TOON formatted string into a JSON object
Inputs
- toonString (required) — The TOON format string to decode
- options — Optional execution options such as indentation and delimiter
Output shape
An array of items, each containing a json field with the decoded JSON object and a pairedItem indicating the input index
If parsing fails and Continue-on-Fail is enabled, the error message is placed in
json.error; otherwise the error propagates.
Examples
Example 1: Decode a TOON string using default comma delimiter
Set operation to Decode TOON, provide TOON string, leave options empty or set indent to 2
Example 2: Decode with custom indentation and tab delimiter
Set indent to 4 and delimiter to "\t" in the options collection
Example 3: Decode multiple items in a batch
Feed multiple input items; each item's TOON string is decoded using the same options
