JSON Parser Nodes

APIs typically return data in JSON format, which can be complex and nested. The JSON Parser Node is a utility that allows you to surgically extract specific pieces of information from a JSON object.

Configuration

Input

Connect a Fetch Node (that returns JSON) or a Text Node (containing valid JSON string) to the input handle.

Path (Dot Notation)

Use standard “dot notation” to navigate the JSON structure and pinpoint the data you want.

Examples:

  • title -> Extracts the value of the “title” key at the root.
  • user.name -> Extracts the “name” from the “user” object.
  • items[0] -> Extracts the first item from the “items” array.
  • items[0].description -> Extracts the description of the first item.

Output

The node outputs the extracted value as a string. If the extracted value is an object or array, it will be stringified.

Workflow Example

  1. Fetch Node: Calls a weather API.
  2. JSON Parser Node: Path set to current.temp_c.
  3. Text Node: Input The temperature is currently {{temp}} degrees., connected to the parser.