Class FieldAccess
java.lang.Object
net.thisptr.jackson.jq.internal.tree.fieldaccess.FieldAccess
- All Implemented Interfaces:
Expression
- Direct Known Subclasses:
BracketExtractFieldAccess, BracketFieldAccess, IdentifierFieldAccess, StringFieldAccess
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.fasterxml.jackson.databind.ObjectMapperprotected final booleanprotected final Expression -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidemitAllPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) protected static voidemitArrayIndexOfPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode subseqToLookFor, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) protected static voidemitArrayIndexPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode index, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) protected static voidemitArrayRangeIndexPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode start, com.fasterxml.jackson.databind.JsonNode end, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) protected static voidemitObjectFieldPath(boolean permissive, String key, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Expression
apply, apply
-
Field Details
-
target
-
permissive
protected final boolean permissive -
MAPPER
private static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
-
-
Constructor Details
-
FieldAccess
-
-
Method Details
-
emitAllPath
protected static void emitAllPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) throws JsonQueryException - Throws:
JsonQueryException
-
emitObjectFieldPath
protected static void emitObjectFieldPath(boolean permissive, String key, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) throws JsonQueryException - Throws:
JsonQueryException
-
emitArrayIndexPath
protected static void emitArrayIndexPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode index, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) throws JsonQueryException - Throws:
JsonQueryException
-
emitArrayIndexOfPath
protected static void emitArrayIndexOfPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode subseqToLookFor, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) throws JsonQueryException - Throws:
JsonQueryException
-
emitArrayRangeIndexPath
protected static void emitArrayRangeIndexPath(boolean permissive, com.fasterxml.jackson.databind.JsonNode start, com.fasterxml.jackson.databind.JsonNode end, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) throws JsonQueryException - Throws:
JsonQueryException
-