public class JsonPathMatchers
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<? super java.lang.Object> |
hasJsonPath(java.lang.String jsonPath) |
static <T> org.hamcrest.Matcher<? super java.lang.Object> |
hasJsonPath(java.lang.String jsonPath,
org.hamcrest.Matcher<T> resultMatcher) |
static org.hamcrest.Matcher<? super java.lang.Object> |
hasNoJsonPath(java.lang.String jsonPath) |
static org.hamcrest.Matcher<java.lang.Object> |
isJson() |
static org.hamcrest.Matcher<java.lang.Object> |
isJson(org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> matcher) |
static org.hamcrest.Matcher<java.io.File> |
isJsonFile(org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> matcher) |
static org.hamcrest.Matcher<java.lang.String> |
isJsonString(org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> matcher) |
static org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> |
withJsonPath(com.jayway.jsonpath.JsonPath jsonPath) |
static <T> org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> |
withJsonPath(com.jayway.jsonpath.JsonPath jsonPath,
org.hamcrest.Matcher<T> resultMatcher) |
static <T> org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> |
withJsonPath(java.lang.String jsonPath,
org.hamcrest.Matcher<T> resultMatcher) |
static org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> |
withJsonPath(java.lang.String jsonPath,
com.jayway.jsonpath.Predicate... filters) |
static org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> |
withoutJsonPath(com.jayway.jsonpath.JsonPath jsonPath) |
static org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> |
withoutJsonPath(java.lang.String jsonPath,
com.jayway.jsonpath.Predicate... filters) |
public static org.hamcrest.Matcher<? super java.lang.Object> hasJsonPath(java.lang.String jsonPath)
public static <T> org.hamcrest.Matcher<? super java.lang.Object> hasJsonPath(java.lang.String jsonPath,
org.hamcrest.Matcher<T> resultMatcher)
public static org.hamcrest.Matcher<? super java.lang.Object> hasNoJsonPath(java.lang.String jsonPath)
public static org.hamcrest.Matcher<java.lang.Object> isJson()
public static org.hamcrest.Matcher<java.lang.Object> isJson(org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> matcher)
public static org.hamcrest.Matcher<java.lang.String> isJsonString(org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> matcher)
public static org.hamcrest.Matcher<java.io.File> isJsonFile(org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> matcher)
public static org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> withJsonPath(java.lang.String jsonPath,
com.jayway.jsonpath.Predicate... filters)
public static org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> withJsonPath(com.jayway.jsonpath.JsonPath jsonPath)
public static org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> withoutJsonPath(java.lang.String jsonPath,
com.jayway.jsonpath.Predicate... filters)
public static org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> withoutJsonPath(com.jayway.jsonpath.JsonPath jsonPath)
public static <T> org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> withJsonPath(java.lang.String jsonPath,
org.hamcrest.Matcher<T> resultMatcher)
public static <T> org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> withJsonPath(com.jayway.jsonpath.JsonPath jsonPath,
org.hamcrest.Matcher<T> resultMatcher)