JsonPath class abstract interface

A parsed JSONPath expression which can be applied to a JSON document.

Constructors

JsonPath(String expression)
Creates an instance from a string. The expression is parsed once, and the instance may be used many times after that.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(dynamic json) Iterable<JsonPathMatch>
Reads the given json object returning an Iterable of all matches found.
readValues(dynamic json) Iterable<Object?>
Reads the given json object returning an Iterable of all values found.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited