public class Conditional extends Object implements Expression
| Constructor and Description |
|---|
Conditional(List<Pair<Expression,Expression>> switches,
Expression otherwise) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Scope scope,
com.fasterxml.jackson.databind.JsonNode in,
Path path,
PathOutput output,
boolean requirePath) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplypublic Conditional(List<Pair<Expression,Expression>> switches, Expression otherwise)
public void apply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PathOutput output, boolean requirePath) throws JsonQueryException
apply in interface ExpressionJsonQueryExceptionCopyright © 2025. All rights reserved.