Class ObjectMatcher
java.lang.Object
net.thisptr.jackson.jq.internal.tree.matcher.matchers.ObjectMatcher
- All Implemented Interfaces:
PatternMatcher
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.thisptr.jackson.jq.internal.tree.matcher.PatternMatcher
PatternMatcher.MatchOutput, PatternMatcher.MatchWithPath
-
Field Summary
Fields -
Constructor Summary
Constructors -
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) private void
recursive
(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, int index) private void
recursiveWithPath
(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path inpath, PatternMatcher.MatchOutput output, Stack<PatternMatcher.MatchWithPath> accumulate, int index) toString()
-
Field Details
-
matchers
-
-
Constructor Details
-
ObjectMatcher
-
-
Method Details
-
recursive
private void recursive(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, int index) - Throws:
JsonQueryException
-
recursiveWithPath
private void recursiveWithPath(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path inpath, PatternMatcher.MatchOutput output, Stack<PatternMatcher.MatchWithPath> accumulate, int index) throws JsonQueryException - Throws:
JsonQueryException
-
match
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, throws JsonQueryExceptioncom.fasterxml.jackson.databind.JsonNode>> accumulate) - Specified by:
match
in interfacePatternMatcher
- Throws:
JsonQueryException
-
matchWithPath
public void matchWithPath(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PatternMatcher.MatchOutput output, Stack<PatternMatcher.MatchWithPath> accumulate) throws JsonQueryException - Specified by:
matchWithPath
in interfacePatternMatcher
- Throws:
JsonQueryException
-
toString
-