| Package | Description |
|---|---|
| com.jayway.jsonpath | |
| com.jayway.jsonpath.internal | |
| com.jayway.jsonpath.matchers |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DocumentContext |
| Modifier and Type | Method and Description |
|---|---|
ReadContext |
ReadContext.limit(int maxResults)
Stops evaluation when maxResults limit has been reached
|
ReadContext |
ReadContext.withListeners(EvaluationListener... listener)
Adds listener to the evaluation of this path
|
| Modifier and Type | Class and Description |
|---|---|
class |
JsonContext |
| Modifier and Type | Method and Description |
|---|---|
ReadContext |
JsonContext.limit(int maxResults) |
ReadContext |
JsonContext.withListeners(EvaluationListener... listener) |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<? super ReadContext> |
JsonPathMatchers.withJsonPath(JsonPath jsonPath) |
static <T> org.hamcrest.Matcher<? super ReadContext> |
JsonPathMatchers.withJsonPath(JsonPath jsonPath,
org.hamcrest.Matcher<T> resultMatcher) |
static <T> org.hamcrest.Matcher<? super ReadContext> |
JsonPathMatchers.withJsonPath(String jsonPath,
org.hamcrest.Matcher<T> resultMatcher) |
static org.hamcrest.Matcher<? super ReadContext> |
JsonPathMatchers.withJsonPath(String jsonPath,
Predicate... filters) |
static org.hamcrest.Matcher<? super ReadContext> |
JsonPathMatchers.withoutJsonPath(JsonPath jsonPath) |
static org.hamcrest.Matcher<? super ReadContext> |
JsonPathMatchers.withoutJsonPath(String jsonPath,
Predicate... filters) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
WithJsonPath.describeMismatchSafely(ReadContext context,
org.hamcrest.Description mismatchDescription) |
protected boolean |
WithJsonPath.matchesSafely(ReadContext context) |
protected boolean |
WithoutJsonPath.matchesSafely(ReadContext actual,
org.hamcrest.Description mismatchDescription) |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<Object> |
JsonPathMatchers.isJson(org.hamcrest.Matcher<? super ReadContext> matcher) |
static org.hamcrest.Matcher<File> |
JsonPathMatchers.isJsonFile(org.hamcrest.Matcher<? super ReadContext> matcher) |
static org.hamcrest.Matcher<String> |
JsonPathMatchers.isJsonString(org.hamcrest.Matcher<? super ReadContext> matcher) |
| Constructor and Description |
|---|
IsJson(org.hamcrest.Matcher<? super ReadContext> jsonMatcher) |
Copyright © 2025. All rights reserved.