Class IdentifierKeyFieldConstruction
- java.lang.Object
-
- net.thisptr.jackson.jq.internal.tree.IdentifierKeyFieldConstruction
-
- All Implemented Interfaces:
FieldConstruction
public class IdentifierKeyFieldConstruction extends java.lang.Object implements FieldConstruction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.thisptr.jackson.jq.internal.tree.FieldConstruction
FieldConstruction.FieldConsumer
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
key
Expression
value
-
Constructor Summary
Constructors Constructor Description IdentifierKeyFieldConstruction(java.lang.String key)
IdentifierKeyFieldConstruction(java.lang.String key, Expression value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
evaluate(Scope scope, com.fasterxml.jackson.databind.JsonNode in, FieldConstruction.FieldConsumer consumer)
java.lang.String
toString()
-
-
-
Field Detail
-
key
public final java.lang.String key
-
value
public final Expression value
-
-
Constructor Detail
-
IdentifierKeyFieldConstruction
public IdentifierKeyFieldConstruction(java.lang.String key, Expression value)
-
IdentifierKeyFieldConstruction
public IdentifierKeyFieldConstruction(java.lang.String key)
-
-
Method Detail
-
evaluate
public void evaluate(Scope scope, com.fasterxml.jackson.databind.JsonNode in, FieldConstruction.FieldConsumer consumer) throws JsonQueryException
- Specified by:
evaluate
in interfaceFieldConstruction
- Throws:
JsonQueryException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-