Package 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 (JsonParser) instances.


Interface Summary
FormatSchemaSimple tag interface used to mark schema objects that are used by some JsonParser and JsonGenerator implementations to further specify structure of expected format.
PrettyPrinterInterface for objects that implement pretty printer functionality, such as indentation.
SerializableStringInterface that defines how Jackson package can interact with efficient pre-serialized or lazily-serialized and reused String representations.
TreeNodeMarker interface used to denote JSON Tree nodes, as far as the core package knows them (which is very little): mostly needed to allow ObjectCodec to have some level of interoperability.
VersionedInterface that those Jackson components that are explicitly versioned will implement.

Class Summary
Base64VariantAbstract base class used to define specific details of which variant of Base64 encoding/decoding is to be used.
Base64VariantsContainer for commonly used Base64 variants.
JsonFactoryThe main factory class of Jackson package, used to configure and construct reader (aka parser, JsonParser) and writer (aka generator, JsonGenerator) instances.
JsonGeneratorBase class that defines public API for writing JSON content.
JsonLocationObject that encapsulates Location information used for reporting parsing (or potentially generation) errors, as well as current location within input streams.
JsonParserBase class that defines public API for reading JSON content.
JsonStreamContextShared base class for streaming processing contexts used during reading and writing of Json content using Streaming API.
ObjectCodecAbstract class that defines the interface that JsonParser and JsonGenerator use to serialize and deserialize regular Java objects (POJOs aka Beans).
VersionObject that encapsulates versioning information of a component.

Enum Summary
JsonEncodingEnumeration that defines legal encodings that can be used for JSON content, based on list of allowed encodings from JSON specification.
JsonFactory.FeatureEnumeration that defines all on/off features that can only be changed for JsonFactory.
JsonGenerator.FeatureEnumeration that defines all togglable features for generators.
JsonParser.FeatureEnumeration that defines all on/off features for parsers.
JsonParser.NumberTypeEnumeration of possible "native" (optimal) types that can be used for numbers.
JsonTokenEnumeration for basic token types used for returning results of parsing JSON content.

Exception Summary
JsonGenerationExceptionException type for exceptions during JSON writing, such as trying to output content in wrong context (non-matching end-array or end-object, for example).
JsonParseExceptionException type for parsing problems, used when non-well-formed content (content that does not conform to JSON syntax as per specification) is encountered.
JsonProcessingExceptionIntermediate base class for all problems encountered when processing (parsing, generating) JSON content that are not pure I/O problems.

Package com.fasterxml.jackson.core Description

Main public API classes of the core streaming JSON processor: most importantly JsonFactory used for constructing JSON parser (JsonParser) and generator (JsonParser) 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:

  • TreeNode is includedwithin Streaming API to support integration of the Tree Model(which is based on JsonNode) with the basicparsers and generators (iff using mapping-supporting factory: whichis part of Mapping API, not 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.

Copyright © 2012 All Rights Reserved.

Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14