Class Conditional
java.lang.Object
net.thisptr.jackson.jq.internal.tree.Conditional
- All Implemented Interfaces:
Expression
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConditional(List<Pair<Expression, Expression>> switches, Expression otherwise) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PathOutput output, boolean requirePath) private voidpathRecursive(PathOutput output, Scope scope, List<Pair<Expression, Expression>> switches, com.fasterxml.jackson.databind.JsonNode in, Path path) toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Expression
apply
-
Field Details
-
otherwise
-
switches
-
-
Constructor Details
-
Conditional
-
-
Method Details
-
pathRecursive
private void pathRecursive(PathOutput output, Scope scope, List<Pair<Expression, Expression>> switches, com.fasterxml.jackson.databind.JsonNode in, Path path) throws JsonQueryException - Throws:
JsonQueryException
-
apply
public void apply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PathOutput output, boolean requirePath) throws JsonQueryException - Specified by:
applyin interfaceExpression- Throws:
JsonQueryException
-
toString
-