Class ObjectFieldPath
java.lang.Object
net.thisptr.jackson.jq.path.ObjectFieldPath
- All Implemented Interfaces:
Path
-
Nested Class Summary
Nested classes/interfaces inherited from interface Path
Path.Mutation -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectFieldPathchainIfNotNull(Path parent, String key) voidget(com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, boolean permissive) private static com.fasterxml.jackson.databind.JsonNodemutate(com.fasterxml.jackson.databind.JsonNode in, String key, Path.Mutation mutation, boolean makeParent) com.fasterxml.jackson.databind.JsonNodemutate(com.fasterxml.jackson.databind.JsonNode in, Path.Mutation mutation, boolean makeParent) static voidresolve(com.fasterxml.jackson.databind.JsonNode pobj, Path ppath, PathOutput output, String key, boolean permissive) voidtoJsonNode(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:
toJsonNodein interfacePath- Throws:
JsonQueryException
-
get
public void get(com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, boolean permissive) throws JsonQueryException - Specified by:
getin 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:
mutatein 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
-