Class: JSONPathNode
The pair of a JSON value and its location found in the target JSON value.
Constructors
new JSONPathNode()
new JSONPathNode(
value
,location
,root
):JSONPathNode
Parameters
value
The JSON value found at location.
location
(string
| number
)[]
The parts of a normalized path to value.
root
The target value at the top of the JSON node tree.
Returns
Defined in
Properties
location
readonly
location: (string
|number
)[]
The parts of a normalized path to value.
Defined in
root
readonly
root:JSONValue
The target value at the top of the JSON node tree.
Defined in
value
readonly
value:JSONValue
The JSON value found at location.
Defined in
Accessors
path
Get Signature
get path():
string
Returns
string
Defined in
Methods
toPointer()
toPointer():
JSONPointer
Return this node's location as a JSONPointer.