Core part of Jackson that defines Streaming API as well as basic shared abstractions
Switch branches/tags
jackson-core-2.9.7 jackson-core-2.9.6 jackson-core-2.9.5 jackson-core-2.9.4 jackson-core-2.9.3 jackson-core-2.9.2 jackson-core-2.9.1 jackson-core-2.9.0 jackson-core-2.9.0.pr4 jackson-core-2.9.0.pr3 jackson-core-2.9.0.pr2 jackson-core-2.9.0.pr1 jackson-core-2.8.11 jackson-core-2.8.10 jackson-core-2.8.9 jackson-core-2.8.8 jackson-core-2.8.7 jackson-core-2.8.6 jackson-core-2.8.5 jackson-core-2.8.4 jackson-core-2.8.3 jackson-core-2.8.2 jackson-core-2.8.1 jackson-core-2.8.0 jackson-core-2.7.9 jackson-core-2.7.8 jackson-core-2.7.7 jackson-core-2.7.6 jackson-core-2.7.5 jackson-core-2.7.4 jackson-core-2.7.3 jackson-core-2.7.3b jackson-core-2.7.2 jackson-core-2.7.1 jackson-core-2.7.0 jackson-core-2.7.0-rc3 jackson-core-2.7.0-rc2 jackson-core-2.7.0-rc1 jackson-core-2.6.7 jackson-core-2.6.6 jackson-core-2.6.5 jackson-core-2.6.4 jackson-core-2.6.3 jackson-core-2.6.2 jackson-core-2.6.1 jackson-core-2.6.0 jackson-core-2.6.0-rc4 jackson-core-2.6.0-rc3 jackson-core-2.6.0-rc2 jackson-core-2.6.0-rc1 jackson-core-2.5.5 jackson-core-2.5.4 jackson-core-2.5.3 jackson-core-2.5.2 jackson-core-2.5.1 jackson-core-2.5.0 jackson-core-2.5.0-rc1 jackson-core-2.4.6 jackson-core-2.4.5 jackson-core-2.4.4 jackson-core-2.4.3 jackson-core-2.4.2 jackson-core- jackson-core-2.4.1 jackson-core-2.4.0 jackson-core-2.4.0-rc3 jackson-core-2.4.0-rc2 jackson-core-2.4.0-rc1 jackson-core-2.3.5 jackson-core-2.3.4 jackson-core-2.3.3 jackson-core-2.3.2 jackson-core-2.3.1 jackson-core-2.3.0 jackson-core-2.3.0-rc1 jackson-core-2.2.4 jackson-core-2.2.3 jackson-core-2.2.2 jackson-core-2.2.1 jackson-core-2.2.0b jackson-core-2.2.0-rc1 jackson-core-2.1.5 jackson-core-2.1.4 jackson-core-2.1.3 jackson-core-2.1.2 jackson-core-2.0.6 jackson-core-2.0.5 jackson-core-2.0.4 jackson-core-2.0.2 jackson-core-2.0.1 jackson-core-2.0.0 2.9.0.pr1b 2.4.0-rc3b 2.1.1b 2.1.0b
Nothing to show
Clone or download
cowtowncoder Merge pull request #497 from javadev/patch-1
Update .travis.yml with java 11
Latest commit f68b9f4 Nov 2, 2018


This project contains core low-level incremental ("streaming") parser and generator abstractions used by Jackson Data Processor. It also includes the default implementation of handler types (parser, generator) that handle JSON format. The core abstractions are not JSON specific, although naming does contain 'JSON' in many places, due to historical reasons. Only packages that specifically contain word 'json' are JSON-specific.

This package is the base on which Jackson data-binding package builds on. It is licensed under Apache License 2.0. For additional/alternative licensing questions, please contact affordable commercial licenses available for use cases like Android app development.

Alternate data format implementations (like Smile (binary JSON), XML, CSV) and CBOR also build on this base package, implementing the core interfaces, making it possible to use standard data-binding package regardless of underlying data format.

Project contains versions 2.0 and above: source code for earlier (1.x) versions can be found from Jackson-1 github repo.

Build Status Maven Central Javadoc Coverage Status

Get it!


Functionality of this package is contained in Java package com.fasterxml.jackson.core.

To use the package, you need to use following Maven dependency:


or download jars from Maven repository or links on Wiki. Core jar is a functional OSGi bundle, with proper import/export declarations.

Package has no external dependencies, except for testing (which uses JUnit).


For non-Maven use cases, you download jars from Central Maven repository.

Core jar is also a functional OSGi bundle, with proper import/export declarations, so it can be use on OSGi container as is.

Use it!


Usage typically starts with creation of a reusable (and thread-safe, once configured) JsonFactory instance:

JsonFactory factory = new JsonFactory();
// configure, if necessary:

Alternatively, you have a ObjectMapper (from Jackson Databind package) handy; if so, you can do:

JsonFactory factory = objectMapper.getFactory();

More information can be found from Streaming API.

Usage, simple reading

All reading is by using JsonParser (or its sub-classes, in case of data formats other than JSON), instance of which is constructed by JsonFactory.

An example can be found from Reading and Writing Event Streams

Usage, simple writing

All writing is by using JsonGenerator (or its sub-classes, in case of data formats other than JSON), instance of which is constructed by JsonFactory:

An example can be found from Reading and Writing Event Streams

Further reading

Differences from Jackson 1.x

Project contains versions 2.0 and above: source code for earlier (1.x) versions is available from Codehaus SVN repository

Note that the main differences compared to 1.0 core jar are:

  • Maven build instead of Ant
  • Annotations carved out to a separate package (that this package depends on)
  • Java package is now com.fasterxml.jackson.core (instead of org.codehaus.jackson)