Package | Description |
---|---|
com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonGenerator )
instances. |
Modifier and Type | Field and Description |
---|---|
protected JsonPointer |
JsonPointer._head
Reference from currently matching segment (if any) to node
before leaf.
|
protected JsonPointer |
JsonPointer._nextSegment
Reference to rest of the pointer beyond currently matching
segment (if any); null if this pointer refers to the matching
segment.
|
protected static JsonPointer |
JsonPointer.EMPTY
Marker instance used to represent segment that matches current
node or position (that is, returns true for
matches() ). |
Modifier and Type | Method and Description |
---|---|
protected JsonPointer |
JsonPointer._constructHead() |
protected JsonPointer |
JsonPointer._constructHead(int suffixLength,
JsonPointer last) |
protected static JsonPointer |
JsonPointer._parseQuotedTail(String input,
int i)
Method called to parse tail of pointer path, when a potentially
escaped character has been seen.
|
protected static JsonPointer |
JsonPointer._parseTail(String input) |
JsonPointer |
JsonPointer.append(JsonPointer tail) |
static JsonPointer |
JsonPointer.compile(String input)
Factory method that parses given input and construct matching pointer
instance, if it represents a valid JSON Pointer: if not, a
IllegalArgumentException is thrown. |
JsonPointer |
JsonPointer.head()
Accessor for getting a pointer instance that is identical to this
instance except that the last segment has been dropped.
|
JsonPointer |
JsonPointer.last()
Returns the leaf of current JSON Pointer expression.
|
JsonPointer |
JsonPointer.matchProperty(String name) |
JsonPointer |
JsonPointer.tail()
Accessor for getting a "sub-pointer", instance where current segment
has been removed and pointer includes rest of segments.
|
static JsonPointer |
JsonPointer.valueOf(String input)
Alias for
compile(java.lang.String) ; added to make instances automatically
deserializable by Jackson databind. |
Modifier and Type | Method and Description |
---|---|
protected JsonPointer |
JsonPointer._constructHead(int suffixLength,
JsonPointer last) |
JsonPointer |
JsonPointer.append(JsonPointer tail) |
TreeNode |
TreeNode.at(JsonPointer ptr)
Method for locating node specified by given JSON pointer instances.
|
Constructor and Description |
---|
JsonPointer(String fullString,
String segment,
int matchIndex,
JsonPointer next) |
JsonPointer(String fullString,
String segment,
JsonPointer next)
Constructor used for creating non-empty Segments
|
Copyright © 2014-2015 FasterXML. All Rights Reserved.