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.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 c)
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 |
UTF8StreamJsonParser._objectCodec
Codec used for data binding when (if) requested; typically full
ObjectMapper , but that abstract is not part of core
package. |
protected ObjectCodec |
ReaderBasedJsonParser._objectCodec |
Modifier and Type | Method and Description |
---|---|
ObjectCodec |
UTF8StreamJsonParser.getCodec() |
ObjectCodec |
ReaderBasedJsonParser.getCodec() |
Modifier and Type | Method and Description |
---|---|
JsonParser |
ByteSourceJsonBootstrapper.constructParser(int parserFeatures,
ObjectCodec codec,
BytesToNameCanonicalizer rootByteSymbols,
CharsToNameCanonicalizer rootCharSymbols,
int factoryFeatures) |
void |
UTF8StreamJsonParser.setCodec(ObjectCodec c) |
void |
ReaderBasedJsonParser.setCodec(ObjectCodec c) |
Constructor and Description |
---|
JsonGeneratorImpl(IOContext ctxt,
int features,
ObjectCodec codec) |
ReaderBasedJsonParser(IOContext ctxt,
int features,
Reader r,
ObjectCodec codec,
CharsToNameCanonicalizer st)
Method 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)
Method called when caller wants to provide input buffer directly,
and it may or may not be recyclable use standard recycle context.
|
UTF8JsonGenerator(IOContext ctxt,
int features,
ObjectCodec codec,
OutputStream out) |
UTF8JsonGenerator(IOContext ctxt,
int features,
ObjectCodec codec,
OutputStream out,
byte[] outputBuffer,
int outputOffset,
boolean bufferRecyclable) |
UTF8StreamJsonParser(IOContext ctxt,
int features,
InputStream in,
ObjectCodec codec,
BytesToNameCanonicalizer sym,
byte[] inputBuffer,
int start,
int end,
boolean bufferRecyclable) |
WriterBasedJsonGenerator(IOContext ctxt,
int features,
ObjectCodec codec,
Writer w) |
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 © 2014-2015 FasterXML. All Rights Reserved.