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. |
com.fasterxml.jackson.core.base |
Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
|
com.fasterxml.jackson.core.filter | |
com.fasterxml.jackson.core.json |
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
|
com.fasterxml.jackson.core.util |
Utility classes used by Jackson Core functionality.
|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.node |
Contains concrete
JsonNode implementations
Jackson uses for the Tree model. |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
Modifier and Type | Method and Description |
---|---|
abstract JsonStreamContext |
JsonGenerator.getOutputContext() |
abstract JsonStreamContext |
JsonStreamContext.getParent()
Accessor for finding parent context of this context; will
return null for root context.
|
abstract JsonStreamContext |
JsonParser.getParsingContext()
Method that can be used to access current parsing context reader
is in.
|
Modifier and Type | Method and Description |
---|---|
static JsonPointer |
JsonPointer.forPath(JsonStreamContext context,
boolean includeRoot)
Factory method that will construct a pointer instance that describes
path to location given
JsonStreamContext points to. |
Constructor and Description |
---|
JsonStreamContext(JsonStreamContext base)
Copy constructor used by sub-classes for creating copies for
buffering.
|
Modifier and Type | Method and Description |
---|---|
JsonStreamContext |
GeneratorBase.getOutputContext()
Note: type was co-variant until Jackson 2.7; reverted back to
base type in 2.8 to allow for overriding by subtypes that use
custom context type.
|
abstract JsonStreamContext |
ParserMinimalBase.getParsingContext() |
Modifier and Type | Class and Description |
---|---|
class |
TokenFilterContext
Alternative variant of
JsonStreamContext , used when filtering
content being read or written (based on TokenFilter ). |
Modifier and Type | Method and Description |
---|---|
protected JsonStreamContext |
FilteringParserDelegate._filterContext() |
JsonStreamContext |
FilteringGeneratorDelegate.getFilterContext() |
JsonStreamContext |
FilteringGeneratorDelegate.getOutputContext() |
JsonStreamContext |
FilteringParserDelegate.getParsingContext() |
Modifier and Type | Class and Description |
---|---|
class |
JsonReadContext
Extension of
JsonStreamContext , which implements
core methods needed, and also exposes
more complete API to parser implementation classes. |
class |
JsonWriteContext
Extension of
JsonStreamContext , which implements
core methods needed, and also exposes
more complete API to generator implementation classes. |
Modifier and Type | Method and Description |
---|---|
JsonStreamContext |
JsonGeneratorDelegate.getOutputContext() |
JsonStreamContext |
JsonParserDelegate.getParsingContext() |
Modifier and Type | Field and Description |
---|---|
protected JsonStreamContext |
MappingIterator._seqContext
Context to resynchronize to, in case an exception is encountered
but caller wants to try to read more elements.
|
Modifier and Type | Method and Description |
---|---|
JsonStreamContext |
TreeTraversingParser.getParsingContext() |
Modifier and Type | Class and Description |
---|---|
class |
TokenBufferReadContext
Implementation of
JsonStreamContext used by TokenBuffer
to link back to the original context to try to keep location information
consistent between source location and buffered content when it's re-read
from the buffer. |
Modifier and Type | Field and Description |
---|---|
protected JsonStreamContext |
TokenBufferReadContext._parent |
protected JsonStreamContext |
TokenBuffer._parentContext
Parse context from "parent" parser (one from which content to buffer is read,
if specified).
|
Modifier and Type | Method and Description |
---|---|
JsonStreamContext |
TokenBufferReadContext.getParent() |
JsonStreamContext |
TokenBuffer.Parser.getParsingContext() |
Modifier and Type | Method and Description |
---|---|
static TokenBufferReadContext |
TokenBufferReadContext.createRootContext(JsonStreamContext origContext) |
TokenBuffer |
TokenBuffer.overrideParentContext(JsonStreamContext ctxt)
Method that allows explicitly specifying parent parse context to associate
with contents of this buffer.
|
Constructor and Description |
---|
Parser(TokenBuffer.Segment firstSeg,
ObjectCodec codec,
boolean hasNativeTypeIds,
boolean hasNativeObjectIds,
JsonStreamContext parentContext) |
TokenBufferReadContext(JsonStreamContext base,
JsonLocation startLoc) |
TokenBufferReadContext(JsonStreamContext base,
Object srcRef) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.