public class MatchesJsonPathPattern extends PathPattern
valuePattern
ABSENT
expectedValue
Constructor and Description |
---|
MatchesJsonPathPattern(java.lang.String value) |
MatchesJsonPathPattern(java.lang.String expectedJsonPath,
StringValuePattern valuePattern) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMatchesJsonPath() |
protected MatchResult |
isAdvancedMatch(java.lang.String value) |
protected MatchResult |
isSimpleMatch(java.lang.String value) |
getValuePattern, isSimple, match
equals, getExpected, getName, hashCode, isAbsent, isPresent, nullSafeIsAbsent, toString
getValue
public MatchesJsonPathPattern(java.lang.String expectedJsonPath, StringValuePattern valuePattern)
public MatchesJsonPathPattern(java.lang.String value)
public java.lang.String getMatchesJsonPath()
protected MatchResult isSimpleMatch(java.lang.String value)
isSimpleMatch
in class PathPattern
protected MatchResult isAdvancedMatch(java.lang.String value)
isAdvancedMatch
in class PathPattern