TOON Format icon

TOON Format

Convert data between JSON and TOON format for token-efficient LLM usage

Decode

AI-generated

Summary

Decode a TOON-encoded string back into its original JSON format by sending the TOON string to the ToneAI API decode endpoint.

Inputs

  • TOON Input (required) — The TOON-encoded string to decode back to JSON.

Output shape

a single JSON object containing the decoded data returned in the node's output item under the 'json' property.

The output JSON is obtained by posting the TOON Input string to the external ToneAI API's /toon/decode endpoint. Errors during decoding are returned in the output if 'Continue On Fail' is enabled.

Examples

Example 1: Decode a TOON string

Provide a TOON-encoded string in the 'TOON Input' field and run the node to receive the decoded JSON data as output.

Links

Discussion