Docs
NodesProcessing Nodes
Edit Page on GitHub

Text to JSON (Parser)

Converts a text string, including non-standard or malformed JSON, into a structured JSON object. It uses JSON repair technology.

textjsonparserrepairEasy0
Text to JSON (Parser) Node Screenshot

Description

The Text to JSON node parses a text string that contains JSON data and converts it into a proper JSON object. This is useful when working with API responses or other sources that provide JSON as a string rather than as a structured object.

Common Use Cases

  • Parsing JSON strings from API responses
  • Converting LLM-generated JSON text into actual JSON objects
  • Processing JSON data received as text
  • Transforming structured text into manipulable objects

Inputs

The input connections this node accepts:

NameDescriptionTypeFlowThe flow of the workflowFlowTextText to convert (e.g., malformed JSON string)Text

Outputs

The output connections this node provides:

NameDescriptionTypeJSONThe parsed JSON objectJSONToolThe tool version of this node, to be used by LLMsTool

Fields

The configurable fields this node provides:

NameDescriptionTypeTextText to convertValue: Enter text here...Text

Last updated on