T - The type of the matcher.public final class HasJsonPath<T>
extends org.hamcrest.TypeSafeMatcher<com.fasterxml.jackson.databind.JsonNode>
| Constructor and Description |
|---|
HasJsonPath(String jsonPath)
Constructor.
|
HasJsonPath(String jsonPath,
org.hamcrest.Matcher<T> matcher)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(com.fasterxml.jackson.databind.JsonNode jsonNode) |
describeMismatch, describeMismatchSafely, matchespublic HasJsonPath(String jsonPath)
jsonPath - The JSONpath to use.Copyright © 2013. All Rights Reserved.