Interface PatternMatcher
- All Known Implementing Classes:
ArrayMatcher
,ObjectMatcher
,ValueMatcher
public interface PatternMatcher
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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)
-
Method Details
-
match
void match(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Functional.Consumer<List<Pair<String, com.fasterxml.jackson.databind.JsonNode>>> out, Stack<Pair<String, throws JsonQueryExceptioncom.fasterxml.jackson.databind.JsonNode>> accumulate) - Throws:
JsonQueryException
-
matchWithPath
void matchWithPath(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PatternMatcher.MatchOutput output, Stack<PatternMatcher.MatchWithPath> accumulate) throws JsonQueryException - Throws:
JsonQueryException
-