com.fasterxml.jackson.core.JsonFactory
used for constructing
JSON parser (com.fasterxml.jackson.core.JsonParser )
and generator
(com.fasterxml.jackson.core.JsonGenerator )
instances.
Public API of the higher-level mapping interfaces ("Mapping API") is found from the "jackson-databind" bundle, except for following base interfaces that are defined here:
com.fasterxml.jackson.core.TreeNode is included
within Streaming API to support integration of the Tree Model
(which is based on JsonNode) with the basic
parsers and generators (iff using mapping-supporting factory: which
is part of Mapping API, not core)
com.fasterxml.jackson.core.ObjectCodec is included so that
reference to the object capable of serializing/deserializing
Objects to/from JSON (usually, com.fasterxml.jackson.databind.ObjectMapper)
can be exposed, without adding direct dependency to implementation.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | FormatFeature
Marker interface that is to be implemented by data format - specific features. |
| public interface | FormatSchema
Simple tag interface used to mark schema objects that are used by some
|
| public interface | JsonTokenId
Interface defined to contain ids accessible with |
| public interface | PrettyPrinter
Interface for objects that implement pretty printer functionality, such as indentation. |
| public interface | SerializableString
Interface that defines how Jackson package can interact with efficient pre-serialized or lazily-serialized and reused String representations. |
| public interface | TreeNode
Marker interface used to denote JSON Tree nodes, as far as
the core package knows them (which is very little): mostly
needed to allow |
| public interface | Versioned
Interface that those Jackson components that are explicitly versioned will implement. |
| Modifier and Type | Class and Description |
|---|---|
| public class | Base64Variant
Class used to define specific details of which variant of Base64 encoding/decoding is to be used. |
| public class | Base64Variants
Container for commonly used Base64 variants: |
| public class | ErrorReportConfiguration
Container for configuration values used when handling errorneous token inputs. |
| public abstract class | JacksonException
Base class for all Jackson-produced checked exceptions. |
| public class | JsonFactory
The main factory class of Jackson package, used to configure and
construct
reader (aka parser, |
| public class | JsonFactoryBuilder
|
| public class | JsonGenerationException
Exception type for exceptions during JSON writing, such as trying to output content in wrong context (non-matching end-array or end-object, for example). |
| public abstract class | JsonGenerator
Base class that defines public API for writing JSON content. |
| public class | JsonLocation
Object that encapsulates Location information used for reporting parsing (or potentially generation) errors, as well as current location within input streams. |
| public class | JsonParseException
Exception type for parsing problems, used when non-well-formed content (content that does not conform to JSON syntax as per specification) is encountered. |
| public abstract class | JsonParser
Base class that defines public API for reading JSON content. |
| public class | JsonpCharacterEscapes
Convenience |
| public class | JsonPointer
Implementation of JSON Pointer specification. |
| public class | JsonProcessingException
Intermediate base class for all problems encountered when processing (parsing, generating) JSON content that are not pure I/O problems. |
| public abstract class | JsonStreamContext
Shared base class for streaming processing contexts used during reading and writing of Json content using Streaming API. |
| public abstract class | ObjectCodec
Abstract class that defines the interface that |
| public class | StreamReadConstraints
The constraints to use for streaming reads: used to guard against malicious input by preventing processing of "too big" input constructs (values, structures). |
| public class | StreamWriteConstraints
The constraints to use for streaming writes: used to guard against problematic output by preventing processing of "too big" output constructs (values, structures). |
| public abstract class | TokenStreamFactory
Intermediate base class for actual format-specific factories for constructing parsers (reading) and generators (writing). |
| public abstract class | |
| public abstract class | TSFBuilder<F extends JsonFactory, B extends TSFBuilder
Since 2.10, Builder class is offered for creating token stream factories with difference configurations: with 3.x they will be fully immutable. |
| public class | Version
Object that encapsulates versioning information of a component. |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | JsonEncoding
Enumeration that defines legal encodings that can be used for JSON content, based on list of allowed encodings from JSON specification. |
| public enum | JsonToken
Enumeration for basic token types used for returning results of parsing JSON content. |
| public enum | StreamReadCapability
Set of on/off capabilities that a |
| public enum | StreamReadFeature
Token reader (parser) features not-specific to any particular format backend. |
| public enum | StreamWriteCapability
Set of on/off capabilities that a |
| public enum | StreamWriteFeature
Token writer (generator) features not-specific to any particular format backend. |