Package net.thisptr.jackson.jq.path
Class ObjectFieldPath
java.lang.Object
net.thisptr.jackson.jq.path.ObjectFieldPath
- All Implemented Interfaces:
Path
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.thisptr.jackson.jq.path.Path
Path.Mutation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectFieldPath
chainIfNotNull
(Path parent, String key) void
get
(com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, boolean permissive) private static com.fasterxml.jackson.databind.JsonNode
mutate
(com.fasterxml.jackson.databind.JsonNode in, String key, Path.Mutation mutation, boolean makeParent) com.fasterxml.jackson.databind.JsonNode
mutate
(com.fasterxml.jackson.databind.JsonNode in, Path.Mutation mutation, boolean makeParent) static void
resolve
(com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, String key, boolean permissive) void
toJsonNode
(com.fasterxml.jackson.databind.node.ArrayNode out)
-
Field Details
-
key
-
parent
-
MAPPER
private static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
-
-
Constructor Details
-
ObjectFieldPath
-
-
Method Details
-
chainIfNotNull
-
toJsonNode
- Specified by:
toJsonNode
in interfacePath
- Throws:
JsonQueryException
-
get
public void get(com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, boolean permissive) throws JsonQueryException - Specified by:
get
in interfacePath
- Throws:
JsonQueryException
-
mutate
public com.fasterxml.jackson.databind.JsonNode mutate(com.fasterxml.jackson.databind.JsonNode in, Path.Mutation mutation, boolean makeParent) throws JsonQueryException - Specified by:
mutate
in interfacePath
- Throws:
JsonQueryException
-
mutate
private static com.fasterxml.jackson.databind.JsonNode mutate(com.fasterxml.jackson.databind.JsonNode in, String key, Path.Mutation mutation, boolean makeParent) throws JsonQueryException - Throws:
JsonQueryException
-
resolve
public static void resolve(com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, String key, boolean permissive) throws JsonQueryException - Throws:
JsonQueryException
-