JsonPathMatcherResponse

data class JsonPathMatcherResponse(val jsonMatcher: String, val jsonPath: String)

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

Constructors

Link copied to clipboard
fun JsonPathMatcherResponse(jsonMatcher: String, jsonPath: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)

Link copied to clipboard

JSONPath within the response output pointing to the expected ContentMatcher::content to match against.