JsonPathMatcher class

Information needed to perform a JSONPath content match. Used for ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::NOT_MATCHES_JSON_PATH.

Constructors

JsonPathMatcher({Input<JsonPathMatcherJsonMatcher>? jsonMatcher, Input<String>? jsonPath})
Creates a new JsonPathMatcher. jsonMatcher The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content) jsonPath JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
const
JsonPathMatcher.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
jsonMatcher → Input<JsonPathMatcherJsonMatcher>?
The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
final
jsonPath → Input<String>?
JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
final
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
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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