public class ObjectMatcher extends Object implements PatternMatcher
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectMatcher.FieldMatcher |
PatternMatcher.MatchOutput, PatternMatcher.MatchWithPath| Constructor and Description |
|---|
ObjectMatcher(List<ObjectMatcher.FieldMatcher> matchers) |
| Modifier and Type | Method and Description |
|---|---|
void |
match(Scope scope,
com.fasterxml.jackson.databind.JsonNode in,
Functional.Consumer<List<Pair<String,com.fasterxml.jackson.databind.JsonNode>>> out,
Stack<Pair<String,com.fasterxml.jackson.databind.JsonNode>> accumulate) |
void |
matchWithPath(Scope scope,
com.fasterxml.jackson.databind.JsonNode in,
Path path,
PatternMatcher.MatchOutput output,
Stack<PatternMatcher.MatchWithPath> accumulate) |
String |
toString() |
public ObjectMatcher(List<ObjectMatcher.FieldMatcher> matchers)
public void match(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Functional.Consumer<List<Pair<String,com.fasterxml.jackson.databind.JsonNode>>> out, Stack<Pair<String,com.fasterxml.jackson.databind.JsonNode>> accumulate) throws JsonQueryException
match in interface PatternMatcherJsonQueryExceptionpublic void matchWithPath(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PatternMatcher.MatchOutput output, Stack<PatternMatcher.MatchWithPath> accumulate) throws JsonQueryException
matchWithPath in interface PatternMatcherJsonQueryExceptionCopyright © 2025. All rights reserved.