public class JsonPathMatchers extends Object
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<? super Object> |
hasJsonPath(String jsonPath) |
static <T> org.hamcrest.Matcher<? super Object> |
hasJsonPath(String jsonPath,
org.hamcrest.Matcher<T> resultMatcher) |
static org.hamcrest.Matcher<? super Object> |
hasNoJsonPath(String jsonPath) |
static org.hamcrest.Matcher<Object> |
isJson() |
static org.hamcrest.Matcher<Object> |
isJson(org.hamcrest.Matcher<? super ReadContext> matcher) |
static org.hamcrest.Matcher<File> |
isJsonFile(org.hamcrest.Matcher<? super ReadContext> matcher) |
static org.hamcrest.Matcher<String> |
isJsonString(org.hamcrest.Matcher<? super ReadContext> matcher) |
static org.hamcrest.Matcher<? super ReadContext> |
withJsonPath(JsonPath jsonPath) |
static <T> org.hamcrest.Matcher<? super ReadContext> |
withJsonPath(JsonPath jsonPath,
org.hamcrest.Matcher<T> resultMatcher) |
static <T> org.hamcrest.Matcher<? super ReadContext> |
withJsonPath(String jsonPath,
org.hamcrest.Matcher<T> resultMatcher) |
static org.hamcrest.Matcher<? super ReadContext> |
withJsonPath(String jsonPath,
Predicate... filters) |
static org.hamcrest.Matcher<? super ReadContext> |
withoutJsonPath(JsonPath jsonPath) |
static org.hamcrest.Matcher<? super ReadContext> |
withoutJsonPath(String jsonPath,
Predicate... filters) |
public static <T> org.hamcrest.Matcher<? super Object> hasJsonPath(String jsonPath, org.hamcrest.Matcher<T> resultMatcher)
public static org.hamcrest.Matcher<Object> isJson()
public static org.hamcrest.Matcher<Object> isJson(org.hamcrest.Matcher<? super ReadContext> matcher)
public static org.hamcrest.Matcher<String> isJsonString(org.hamcrest.Matcher<? super ReadContext> matcher)
public static org.hamcrest.Matcher<File> isJsonFile(org.hamcrest.Matcher<? super ReadContext> matcher)
public static org.hamcrest.Matcher<? super ReadContext> withJsonPath(String jsonPath, Predicate... filters)
public static org.hamcrest.Matcher<? super ReadContext> withJsonPath(JsonPath jsonPath)
public static org.hamcrest.Matcher<? super ReadContext> withoutJsonPath(String jsonPath, Predicate... filters)
public static org.hamcrest.Matcher<? super ReadContext> withoutJsonPath(JsonPath jsonPath)
public static <T> org.hamcrest.Matcher<? super ReadContext> withJsonPath(String jsonPath, org.hamcrest.Matcher<T> resultMatcher)
public static <T> org.hamcrest.Matcher<? super ReadContext> withJsonPath(JsonPath jsonPath, org.hamcrest.Matcher<T> resultMatcher)
Copyright © 2024. All rights reserved.