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.json |
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
|
com.fasterxml.jackson.core.json.async |
Non-blocking ("async") JSON parser implementation.
|
com.fasterxml.jackson.core.util |
Utility classes used by Jackson Core functionality.
|
Modifier and Type | Field and Description |
---|---|
protected ObjectCodec |
JsonFactory._objectCodec
Object that implements conversion functionality between
Java objects and JSON content.
|
Modifier and Type | Method and Description |
---|---|
protected ObjectCodec |
JsonParser._codec() |
abstract ObjectCodec |
JsonParser.getCodec()
Accessor for
ObjectCodec associated with this
parser, if any. |
abstract ObjectCodec |
JsonGenerator.getCodec()
Method for accessing the object used for writing Java
object as JSON content
(using method
JsonGenerator.writeObject(java.lang.Object) ). |
ObjectCodec |
JsonFactory.getCodec() |
Modifier and Type | Method and Description |
---|---|
abstract void |
JsonParser.setCodec(ObjectCodec oc)
Setter that allows defining
ObjectCodec associated with this
parser, if any. |
abstract JsonGenerator |
JsonGenerator.setCodec(ObjectCodec oc)
Method that can be called to set or reset the object to
use for writing Java objects as JsonContent
(using method
JsonGenerator.writeObject(java.lang.Object) ). |
JsonFactory |
JsonFactory.setCodec(ObjectCodec oc)
Method for associating a
ObjectCodec (typically
a com.fasterxml.jackson.databind.ObjectMapper )
with this factory (and more importantly, parsers and generators
it constructs). |
JsonParser |
TreeNode.traverse(ObjectCodec codec)
Same as
TreeNode.traverse() , but additionally passes ObjectCodec
to use if JsonParser.readValueAs(Class) is used (otherwise caller must call
JsonParser.setCodec(com.fasterxml.jackson.core.ObjectCodec) on response explicitly). |
Constructor and Description |
---|
JsonFactory(JsonFactory src,
ObjectCodec codec)
Constructor used when copy()ing a factory instance.
|
JsonFactory(ObjectCodec oc) |
Modifier and Type | Field and Description |
---|---|
protected ObjectCodec |
GeneratorBase._objectCodec |
Modifier and Type | Method and Description |
---|---|
ObjectCodec |
GeneratorBase.getCodec() |
Modifier and Type | Method and Description |
---|---|
JsonGenerator |
GeneratorBase.setCodec(ObjectCodec oc) |
Constructor and Description |
---|
GeneratorBase(int features,
ObjectCodec codec) |
GeneratorBase(int features,
ObjectCodec codec,
JsonWriteContext ctxt) |
Modifier and Type | Field and Description |
---|---|
protected ObjectCodec |
ReaderBasedJsonParser._objectCodec |
protected ObjectCodec |
UTF8DataInputJsonParser._objectCodec
Codec used for data binding when (if) requested; typically full
ObjectMapper , but that abstract is not part of core
package. |
protected ObjectCodec |
UTF8StreamJsonParser._objectCodec
Codec used for data binding when (if) requested; typically full
ObjectMapper , but that abstract is not part of core
package. |
Modifier and Type | Method and Description |
---|---|
ObjectCodec |
ReaderBasedJsonParser.getCodec() |
ObjectCodec |
UTF8DataInputJsonParser.getCodec() |
ObjectCodec |
UTF8StreamJsonParser.getCodec() |
Modifier and Type | Method and Description |
---|---|
JsonParser |
ByteSourceJsonBootstrapper.constructParser(int parserFeatures,
ObjectCodec codec,
ByteQuadsCanonicalizer rootByteSymbols,
CharsToNameCanonicalizer rootCharSymbols,
int factoryFeatures) |
void |
ReaderBasedJsonParser.setCodec(ObjectCodec c) |
void |
UTF8DataInputJsonParser.setCodec(ObjectCodec c) |
void |
UTF8StreamJsonParser.setCodec(ObjectCodec c) |
Constructor and Description |
---|
JsonGeneratorImpl(IOContext ctxt,
int features,
ObjectCodec codec) |
ReaderBasedJsonParser(IOContext ctxt,
int features,
Reader r,
ObjectCodec codec,
CharsToNameCanonicalizer st)
Constructor called when input comes as a
Reader , and buffer allocation
can be done using default mechanism. |
ReaderBasedJsonParser(IOContext ctxt,
int features,
Reader r,
ObjectCodec codec,
CharsToNameCanonicalizer st,
char[] inputBuffer,
int start,
int end,
boolean bufferRecyclable)
Constructor called when caller wants to provide input buffer directly
(or needs to, in case of bootstrapping having read some of contents)
and it may or may not be recyclable use standard recycle context.
|
UTF8DataInputJsonParser(IOContext ctxt,
int features,
DataInput inputData,
ObjectCodec codec,
ByteQuadsCanonicalizer sym,
int firstByte) |
UTF8JsonGenerator(IOContext ctxt,
int features,
ObjectCodec codec,
OutputStream out)
Deprecated.
|
UTF8JsonGenerator(IOContext ctxt,
int features,
ObjectCodec codec,
OutputStream out,
byte[] outputBuffer,
int outputOffset,
boolean bufferRecyclable)
Deprecated.
|
UTF8JsonGenerator(IOContext ctxt,
int features,
ObjectCodec codec,
OutputStream out,
char quoteChar) |
UTF8JsonGenerator(IOContext ctxt,
int features,
ObjectCodec codec,
OutputStream out,
char quoteChar,
byte[] outputBuffer,
int outputOffset,
boolean bufferRecyclable) |
UTF8StreamJsonParser(IOContext ctxt,
int features,
InputStream in,
ObjectCodec codec,
ByteQuadsCanonicalizer sym,
byte[] inputBuffer,
int start,
int end,
boolean bufferRecyclable)
Deprecated.
Since 2.10
|
UTF8StreamJsonParser(IOContext ctxt,
int features,
InputStream in,
ObjectCodec codec,
ByteQuadsCanonicalizer sym,
byte[] inputBuffer,
int start,
int end,
int bytesPreProcessed,
boolean bufferRecyclable)
Constructor called when caller wants to provide input buffer directly
(or needs to, in case of bootstrapping having read some of contents)
and it may or may not be recyclable use standard recycle context.
|
WriterBasedJsonGenerator(IOContext ctxt,
int features,
ObjectCodec codec,
Writer w)
Deprecated.
|
WriterBasedJsonGenerator(IOContext ctxt,
int features,
ObjectCodec codec,
Writer w,
char quoteChar) |
Modifier and Type | Method and Description |
---|---|
ObjectCodec |
NonBlockingJsonParserBase.getCodec() |
Modifier and Type | Method and Description |
---|---|
void |
NonBlockingJsonParserBase.setCodec(ObjectCodec c) |
Modifier and Type | Method and Description |
---|---|
ObjectCodec |
JsonParserDelegate.getCodec() |
ObjectCodec |
JsonGeneratorDelegate.getCodec() |
Modifier and Type | Method and Description |
---|---|
void |
JsonParserDelegate.setCodec(ObjectCodec c) |
JsonGenerator |
JsonGeneratorDelegate.setCodec(ObjectCodec oc) |
Copyright © 2008–2022 FasterXML. All rights reserved.