Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.42 KB

File metadata and controls

39 lines (26 loc) · 1.42 KB

One of standard Jackson Collection type Datatype modules. Supports JSON serialization and deserialization of Eclipse Collections data types.

Licensed under Apache License 2.0

Status

Maven Central Javadoc

Usage

Maven dependency

To use module on Maven-based projects, use following dependency:

<dependency>
  <groupId>tools.jackson.datatype</groupId>
  <artifactId>jackson-datatype-eclipse-collections</artifactId>
  <version>3.0.3</version>
</dependency>

(or whatever version is most up-to-date at the moment)

Registering module

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

ObjectMapper mapper = JsonMapper.builder()
    .addModule(new EclipseCollectionsModule())
    .build();

after which functionality is available for all normal Jackson operations.