Class JsonPathMatchers

java.lang.Object
com.jayway.jsonpath.matchers.JsonPathMatchers

public class JsonPathMatchers extends Object
  • Constructor Details

    • JsonPathMatchers

      private JsonPathMatchers()
  • Method Details

    • hasJsonPath

      public static org.hamcrest.Matcher<? super Object> hasJsonPath(String jsonPath)
    • hasJsonPath

      public static <T> org.hamcrest.Matcher<? super Object> hasJsonPath(String jsonPath, org.hamcrest.Matcher<T> resultMatcher)
    • hasNoJsonPath

      public static org.hamcrest.Matcher<? super Object> hasNoJsonPath(String jsonPath)
    • isJson

      public static org.hamcrest.Matcher<Object> isJson()
    • isJson

      public static org.hamcrest.Matcher<Object> isJson(org.hamcrest.Matcher<? super ReadContext> matcher)
    • isJsonString

      public static org.hamcrest.Matcher<String> isJsonString(org.hamcrest.Matcher<? super ReadContext> matcher)
    • isJsonFile

      public static org.hamcrest.Matcher<File> isJsonFile(org.hamcrest.Matcher<? super ReadContext> matcher)
    • withJsonPath

      public static org.hamcrest.Matcher<? super ReadContext> withJsonPath(String jsonPath, Predicate... filters)
    • withJsonPath

      public static org.hamcrest.Matcher<? super ReadContext> withJsonPath(JsonPath jsonPath)
    • withoutJsonPath

      public static org.hamcrest.Matcher<? super ReadContext> withoutJsonPath(String jsonPath, Predicate... filters)
    • withoutJsonPath

      public static org.hamcrest.Matcher<? super ReadContext> withoutJsonPath(JsonPath jsonPath)
    • withJsonPath

      public static <T> org.hamcrest.Matcher<? super ReadContext> withJsonPath(String jsonPath, org.hamcrest.Matcher<T> resultMatcher)
    • withJsonPath

      public static <T> org.hamcrest.Matcher<? super ReadContext> withJsonPath(JsonPath jsonPath, org.hamcrest.Matcher<T> resultMatcher)