JSONPath
/
XPath
Expression Online Evaluator
JSONPath
XPath
JSON
Path Expression:
Expand JSONPath/XPath expressions
JSONPath
XPath
Description
$
/
the root object/element
@
.
the current object/element
. or []
/
child operator
n/a
..
Parent operator.
..
//
Recursive descent.
*
*
Wildcard. All objects/elements regardless their names.
[]
[]
Subscript operator. XPath uses it to iterate over element collections and for predicates. In Javascript and JSON it is the native array operator.
[,]
|
Union operator in XPath results in a combination of node sets. JSONPath allows alternate names or array indices as a set.
[start:end:step]
n/a
Array slice operator.
?()
[]
Applies a filter (script) expression.
()
n/a
Script expression, using the underlying script engine.
n/a
()
Grouping in XPath
JSON Data
Automatically recognize fields
Evaluation Results
SINCE 2021 ©
markbuild