Class: JSONPathQuery
Constructors
new JSONPathQuery()
new JSONPathQuery(
environment
,segments
):JSONPathQuery
Parameters
environment
segments
Returns
Defined in
Properties
environment
readonly
environment:JSONPathEnvironment
Defined in
segments
readonly
segments:JSONPathSegment
[]
Defined in
Methods
lazyQuery()
lazyQuery(
value
):IterableIterator
<JSONPathNode
,any
,any
>
Parameters
value
Returns
IterableIterator
<JSONPathNode
, any
, any
>
Defined in
match()
match(
value
):undefined
|JSONPathNode
Return a JSONPathNode instance for the first object found in value matching this query.
Parameters
value
JSON-like data to which this query will be applied.
Returns
undefined
| JSONPathNode
The first node in value matching this query, or undefined
if
there are no matches.
Defined in
query()
query(
value
):JSONPathNodeList
Parameters
value
Returns
Defined in
singularQuery()
singularQuery():
boolean
Returns
boolean
Defined in
toString()
toString():
string
Returns
string