Skip to main content

What does this node do?

Extracts specific values from complex JSON using JSONPath expressions.

Configuration

json
object
required
JSON data to extract from.
path
string
required
JSONPath expression.

JSONPath examples

PathDescription
$.nameRoot-level property
$.users[0]First array item
$.users[*].nameAll user names
$..emailAll emails (recursive)
$.users[?(@.active)]Filter active users

Output

{
  "result": "extracted value or array",
  "matches": 1
}

Example

// Input
{
  "results": [
    {"name": "Alice", "score": 95},
    {"name": "Bob", "score": 87}
  ]
}

// Path: $.results[*].name
// Output: ["Alice", "Bob"]