Interface PatternMatcher
- All Known Implementing Classes:
ArrayMatcher, ObjectMatcher, ValueMatcher
public interface PatternMatcher
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic class -
Method Summary
Modifier and TypeMethodDescriptionvoidmatch(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) voidmatchWithPath(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, com.fasterxml.jackson.databind.JsonNode>> accumulate) throws JsonQueryException - 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
-