Docs
NodesProcessing Nodes
Edit Page on GitHub

CSV to JSON

Converts CSV text into a JSON array of objects.

jsoncsvparserdataEasy0

CSV to JSON

0
Flow
JSON
Tool
Flow
Not connectedFlow
CSV

Description

The CSV to JSON node takes in CSV-formatted text and converts it into a JSON array of objects. Each row in the CSV becomes an object in the JSON array, with the column headers serving as the keys. This node is useful for transforming tabular data into a structured format that can be easily consumed by other nodes or LLMs in your workflow.

Common Use Cases

  • Parsing CSV data from user input or external sources into JSON for further processing.
  • Converting CSV data into a format that can be easily ingested by LLMs or other nodes that require structured data.
  • Transforming CSV data into a tool format for use in prompt engineering.

Inputs

The input connections this node accepts:

NameDescriptionTypeFlowThe flow of the workflowFlowCSVCSV text to convertTextArea

Outputs

The output connections this node provides:

NameDescriptionTypeFlowThe Flow to triggerFlowJSONThe JSON data parsed from CSVJSONToolThe tool version of this node, to be used by LLMsTool

Fields

The configurable fields this node provides:

NameDescriptionTypeCSVCSV text to convertTextArea

Last updated on