JsonPathMatcherJsonMatcher

enum JsonPathMatcherJsonMatcher : Enum<JsonPathMatcherJsonMatcher> , ConvertibleToJava<JsonPathMatcherJsonMatcher>

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

Entries

Link copied to clipboard

No JSONPath matcher type specified (not valid).

Link copied to clipboard

Selects 'exact string' matching. The match succeeds if the content at the json_path within the output is exactly the same as the content string.

Link copied to clipboard

Selects regular-expression matching. The match succeeds if the content at the json_path within the output matches the regular expression specified in the content string.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): JsonPathMatcherJsonMatcher
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: JsonPathMatcherJsonMatcher
Link copied to clipboard
Link copied to clipboard