Package com.jayway.jsonpath.matchers
Class IsJson<T>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<T>
com.jayway.jsonpath.matchers.IsJson<T>
- All Implemented Interfaces:
org.hamcrest.Matcher<T>,org.hamcrest.SelfDescribing
public class IsJson<T>
extends org.hamcrest.TypeSafeMatcher<T>
-
Constructor Summary
ConstructorsConstructorDescriptionIsJson(org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> jsonMatcher) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddescribeMismatchSafely(T json, org.hamcrest.Description mismatchDescription) voiddescribeTo(org.hamcrest.Description description) protected booleanmatchesSafely(T json) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
IsJson
public IsJson(org.hamcrest.Matcher<? super com.jayway.jsonpath.ReadContext> jsonMatcher)
-
-
Method Details