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.ObjectMapper
protected final boolean
protected final Expression
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
emitAllPath
(boolean permissive, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) protected static void
emitArrayIndexOfPath
(boolean permissive, com.fasterxml.jackson.databind.JsonNode subseqToLookFor, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) protected static void
emitArrayIndexPath
(boolean permissive, com.fasterxml.jackson.databind.JsonNode index, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) 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) protected static void
emitObjectFieldPath
(boolean permissive, String key, com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, boolean requirePath) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.thisptr.jackson.jq.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
-