Skip to content
Jackson project that contains various collection-oriented datatype libraries: Guava, HPPC, PCollections
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs/javadoc add 2.9 javadocs Jul 30, 2017
guava Merge branch '2.10' Apr 6, 2019
hppc Manually merge last part of #48 to master Mar 21, 2019
pcollections Manually merge last part of #48 to master Mar 21, 2019
.gitignore first version Jan 20, 2016
.travis.yml Merge branch '2.10' Apr 6, 2019
pom.xml Manually merge last part of #48 to master Mar 21, 2019


This is a multi-module umbrella project for various Jackson Datatype modules to support 3rd party Collection libraries.

Currently included are:

All modules are licensed under Apache License 2.0.


Build Status


Maven dependencies

To use these format backends Maven-based projects, use following dependency:


where COLLECTION would be one of guava, hppc, pcollections, or eclipse-collections.

NOTE! Parent pom itself only specifies defaults to individual modules but DOES NOT include them, so you CAN NOT just add dependency to jackson-datatypes-collections. Individual datatype modules need to be included explicitly (or via some other pom that depends on them).

Registration with ObjectMapper

Like all standard Jackson modules (libraries that implement Module interface), registration for Collections datatypes is done as follows:

ObjectMapper mapper = new ObjectMapper()
    .registerModule(new GuavaModule())
    .registerModule(new HppcModule())
    .registerModule(new PCollectionsModule())
    .registerModule(new EclipseCollectionsModule())

after which datatype read/write support is available for all normal Jackson operations, including support for nested types.

Usage with Spring Boot

public Jackson2ObjectMapperBuilderCustomizer customize()
    return builder -> builder.modules( new GuavaModule() );
You can’t perform that action at this time.