GCF icon

GCF

Convert between GCF and JSON. 71% fewer tokens than JSON, 25.5% fewer than TOON. 100% LLM comprehension on every frontier model. 33B+ lossless round-trips verified.

Decode (GCF to JSON)

AI-generated

Summary

Decode a GCF string back to JSON, storing the result in a configurable output field.

Inputs

  • inputData — GCF-formatted string to decode, supplied as a field reference (e.g., "data") or literal text.
  • outputField — Name of the field where the decoded JSON will be stored.
  • additionalOptions — Container for extra settings; currently supports "Include Token Metrics" to add token count comparison data.

Output shape

An array of items, each containing a JSON object with the decoded data under the specified outputField, and optionally a tokenMetrics object when Include Token Metrics is enabled.

If ContinueOnFail is disabled the node throws on error; otherwise it returns an error object. The output array length equals the number of input items.

Examples

Example 1: Convert a GCF payload stored in field "data" to JSON and store it in field "result".

Input Data: {{data}}; Output Field: result; Additional Options: (default).

Example 2: Decode a raw GCF string manually entered and enable token metrics.

Input Data: ; Output Field: data; Additional Options: includeTokenMetrics set to true.

Example 3: Process a list of GCF strings, decoding each and placing results in the default "data" field.

Input Data: item; Output Field: data; Additional Options: (default).

Links

Discussion