Contents

Json Parser

json_parser · Nodes · Transform

Parses JSON text into structured data.

Parses and validates JSON against a schema.

Config: schema - JSON Schema (RFC 2020-12) for validation

Input: String or JSON value Output: Parsed JSON (if valid) or error details

Basic schema example:

{
  "type": "object",
  "properties": {
    "name": { "type": "string" },
    "age": { "type": "integer" }
  },
  "required": ["name"]
}

Use after AI extraction or API responses to enforce structure.

Inputs

  • inputRequired

Outputs

  • output

Configuration

FieldTypeRequiredDescription
schemacode(json)NoJson Schema to validate the parsed input against
base_configrecordNoShared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow).