Data Converter icon

Data Converter

Convert between various data formats - Base64, Binary, JSON, XML, YAML, CSV, HTML, and more

Overview

This node performs various data conversion and transformation operations across multiple data formats, including Base64 encoding/decoding, binary data handling, text encoding/decoding, format conversions (JSON, XML, YAML, CSV, Markdown), HTML generation, and string manipulations. Specifically, for the String resource with the Reverse Text operation, it reverses the order of characters in a given input string.

Use cases include:

  • Reversing strings for simple text transformations or puzzles.
  • Preparing data for specific formatting requirements.
  • General-purpose text manipulation as part of larger workflows.

Example: Inputting "hello" with the Reverse Text operation outputs "olleh".

Properties

Name Meaning
Input Data The text string to be transformed.
Binary Property Name (Optional) Name for the output binary property if the output is binary data.

For the Reverse Text operation under the String resource, only the Input Data property is required and used.

Output

The node outputs a JSON object with a result field containing the transformed string. For the Reverse Text operation, this will be the reversed version of the input string.

Example output JSON:

{
  "result": "olleh"
}

If the node is configured to output binary data (not typical for Reverse Text), the binary data will be available under the specified binary property name.

Dependencies

  • No external services or API keys are required.
  • All transformations are performed internally using utility functions bundled within the node's codebase.

Troubleshooting

  • Empty Input: Providing an empty string as input will result in an empty string output.
  • Non-string Input: Since the input expects a string, non-string inputs may cause unexpected results or errors.
  • Error Handling: If an error occurs during processing, the node can either stop execution or continue on fail depending on configuration, returning error messages in the output JSON.

Links and References

Discussion