-
- All Implemented Interfaces:
-
au.com.dius.pact.core.matchers.ContentMatcher,mu.KLoggable
public class JsonContentMatcher extends KLogging implements ContentMatcher
-
-
Field Summary
Fields Modifier and Type Field Description private final KLoggerloggerpublic final static JsonContentMatcherINSTANCE
-
Method Summary
Modifier and Type Method Description BodyMatchResultmatchBody(OptionalBody expected, OptionalBody actual, MatchingContext context)Result<List<InteractionContents>, String>setupBodyFromConfig(Map<String, Object> bodyConfig)final List<BodyItemMatchResult>compare(List<String> path, JsonValue expected, JsonValue actual, MatchingContext context)-
-
Method Detail
-
matchBody
BodyMatchResult matchBody(OptionalBody expected, OptionalBody actual, MatchingContext context)
-
setupBodyFromConfig
Result<List<InteractionContents>, String> setupBodyFromConfig(Map<String, Object> bodyConfig)
-
compare
final List<BodyItemMatchResult> compare(List<String> path, JsonValue expected, JsonValue actual, MatchingContext context)
-
-
-
-