Uses of Class
tools.jackson.core.JsonPointer
Packages that use JsonPointer
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser)
and generator
(JsonGenerator)
instances.-
Uses of JsonPointer in tools.jackson.core
Fields in tools.jackson.core declared as JsonPointerModifier and TypeFieldDescriptionprotected JsonPointerJsonPointer._headReference from currently matching segment (if any) to node before leaf.protected final JsonPointerJsonPointer._nextSegmentReference to rest of the pointer beyond currently matching segment (if any); null if this pointer refers to the matching segment.protected static final JsonPointerJsonPointer.EMPTYMarker instance used to represent segment that matches current node or position (that is, returns true formatches()).Methods in tools.jackson.core that return JsonPointerModifier and TypeMethodDescriptionprotected JsonPointerJsonPointer._constructHead()protected static JsonPointerJsonPointer._parseTail(String fullPath) JsonPointer.append(JsonPointer tail) Mutant factory method that will return `tail` if `this` instance is "empty" pointer, OR `this` instance if `tail` is "empty" pointer, OR Newly constructedJsonPointerinstance that starts with all segments of `this`, followed by all segments of `tail`.JsonPointer.appendIndex(int index) ATTENTION!JsonPointer.appendProperty(String property) ATTENTION!static JsonPointerFactory method that parses given input and construct matching pointer instance, if it represents a valid JSON Pointer: if not, aIllegalArgumentExceptionis thrown.static JsonPointerJsonPointer.empty()Accessor for an "empty" expression, that is, one you can get by callingcompile(java.lang.String)with "" (empty String).static JsonPointerJsonPointer.forPath(TokenStreamContext context, boolean includeRoot) Factory method that will construct a pointer instance that describes path to location givenTokenStreamContextpoints to.JsonPointer.head()Accessor for getting a pointer instance that is identical to this instance except that the last segment has been dropped.JsonPointer.last()JsonPointer.matchElement(int index) Method that may be called to check whether the pointer head (first segment) matches specified Array index and if so, returnJsonPointerthat represents rest of the path after match.JsonPointer.matchProperty(String name) Method that may be called to check whether the pointer head (first segment) matches specified Object property (by name) and if so, returnJsonPointerthat represents rest of the path after match.TokenStreamContext.pathAsPointer()Factory method for constructing aJsonPointerthat points to the current location within the stream that this context is for, excluding information about "root context" (only relevant for multi-root-value cases)TokenStreamContext.pathAsPointer(boolean includeRoot) Factory method for constructing aJsonPointerthat points to the current location within the stream that this context is for, optionally including "root value index"JsonPointer.tail()Accessor for getting a "sub-pointer" (or sub-path), instance where current segment has been removed and pointer includes rest of the segments.static JsonPointerAlias forcompile(java.lang.String); added to make instances automatically deserializable by Jackson databind.Methods in tools.jackson.core with parameters of type JsonPointerModifier and TypeMethodDescriptionJsonPointer.append(JsonPointer tail) Mutant factory method that will return `tail` if `this` instance is "empty" pointer, OR `this` instance if `tail` is "empty" pointer, OR Newly constructedJsonPointerinstance that starts with all segments of `this`, followed by all segments of `tail`.TreeNode.at(JsonPointer ptr) Method for locating node specified by given JSON pointer instances.Constructors in tools.jackson.core with parameters of type JsonPointerModifierConstructorDescriptionprotectedJsonPointer(String fullString, int fullStringOffset, String segment, int matchIndex, JsonPointer next) protectedJsonPointer(String fullString, int fullStringOffset, String segment, JsonPointer next) protectedJsonPointer(JsonPointer src, String newFullString, int newFullStringOffset) Copy-constructor used for creating transformed instances without "next" linkageprotectedJsonPointer(JsonPointer src, JsonPointer next) Copy-constructor used for creating transformed instances with re-linking textual contents to new "next" pointer instance. -
Uses of JsonPointer in tools.jackson.core.filter
Fields in tools.jackson.core.filter declared as JsonPointerMethods in tools.jackson.core.filter with parameters of type JsonPointerModifier and TypeMethodDescriptionprotected JsonPointerBasedFilterJsonPointerBasedFilter.construct(JsonPointer pathToMatch, boolean includeAllElements) Overridable factory method use for creating new instances by defaultJsonPointerBasedFilter.includeElement(int)andJsonPointerBasedFilter.includeProperty(java.lang.String)methods: needs to be overridden if sub-classing this class.Constructors in tools.jackson.core.filter with parameters of type JsonPointerModifierConstructorDescriptionJsonPointerBasedFilter(JsonPointer pathToMatch) JsonPointerBasedFilter(JsonPointer pathToMatch, boolean includeAllElements)