JSON Path Extractor
Extract specific data from JSON structures
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
| Path | Description |
|---|---|
$.name | Root-level property |
$.users[0] | First array item |
$.users[*].name | All user names |
$..email | All 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"]