toon-format-parser

n8n node for TOON format parsing and encoding

Package Information

Downloads: 34 weekly / 45 monthly
Latest Version: 1.0.1
Author: John Paez

Documentation

n8n-nodes-toon-format-parser

n8n node for parsing and encoding data in the TOON format.

This community node allows you to easily integrate TOON format parsing and encoding into your n8n workflows.

Features

  • Decode TOON: Convert TOON format strings into structured JSON objects.
  • Encode TOON: Convert JSON objects into TOON format strings.
  • Flexible Options: Custom indentation and delimiter support for tabular data.

Installation

To install this node in your n8n instance:

  1. Go to Settings > Community Nodes.
  2. Click Install a community node.
  3. Enter n8n-nodes-toon-format-parser in the npm Package Name field.
  4. Click Install.

Operations

Decode TOON

Converts a TOON string into a JSON object.

  • TOON String: The raw string in TOON format to be parsed.
  • Options:
    • Indent: Number of spaces used for indentation in the input (default: 2).
    • Delimiter: Character used for tabular arrays (Comma, Tab, or Pipe).

Encode TOON

Converts a JSON object into a TOON format string.

  • JSON Object: The structured data to be encoded.
  • Options:
    • Indent: Number of spaces for indentation in the output (default: 2).
    • Delimiter: Character to use for tabular arrays.

Example Usage

Decoding Example

Input TOON string:

(
  name: "Project"
  tags: [ "n8n", "automation" ]
)

Output JSON:

{
  "name": "Project",
  "tags": ["n8n", "automation"]
}

Authors

John Paez

License

MIT

Discussion