Class ObjectConstruction
- java.lang.Object
-
- net.thisptr.jackson.jq.internal.tree.ObjectConstruction
-
- All Implemented Interfaces:
Expression
public class ObjectConstruction extends java.lang.Object implements Expression
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<FieldConstruction>
fields
-
Constructor Summary
Constructors Constructor Description ObjectConstruction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(FieldConstruction field)
void
apply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, boolean requirePath)
private static void
applyRecursive(Scope scope, com.fasterxml.jackson.databind.JsonNode in, PathOutput output, java.util.List<FieldConstruction> fields, java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> tmp)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.thisptr.jackson.jq.Expression
apply
-
-
-
-
Field Detail
-
fields
public final java.util.List<FieldConstruction> fields
-
-
Method Detail
-
add
public void add(FieldConstruction field)
-
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
-
applyRecursive
private static void applyRecursive(Scope scope, com.fasterxml.jackson.databind.JsonNode in, PathOutput output, java.util.List<FieldConstruction> fields, java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> tmp) throws JsonQueryException
- Throws:
JsonQueryException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-