Class ValueLiteral
java.lang.Object
net.thisptr.jackson.jq.internal.tree.literal.ValueLiteral
- All Implemented Interfaces:
Expression
- Direct Known Subclasses:
BooleanLiteral
,DoubleLiteral
,LongLiteral
,NullLiteral
,StringLiteral
-
Field Details
-
value
private com.fasterxml.jackson.databind.JsonNode value
-
-
Constructor Details
-
ValueLiteral
public ValueLiteral(com.fasterxml.jackson.databind.JsonNode value)
-
-
Method Details
-
apply
public void apply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, boolean requirePath) throws JsonQueryException - Specified by:
apply
in interfaceExpression
- Throws:
JsonQueryException
-
toString
-
value
public com.fasterxml.jackson.databind.JsonNode value()
-