Skip to content
FORKED to support jackson 2.6.*: Jackson extension to add support for the generated constructors of Project Lombok objects
Java Shell
Branch: master
Clone or download
Pull request Compare This branch is 9 commits ahead, 4 commits behind xebia:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Jackson Lombok

Forked from

Supports Jackson 2.6.*

This repository contains extension for Jackson which allows better interoperability with Lombok classes.

The JacksonLombokAnnotationIntrospector allows Jackson to serialize and deserialize classes with constructors that are annotated with the java.beans.ConstructorProperties annotations. Lombok will automatically add this annotation to the constructors it generates.


Add the JacksonLombokAnnotationIntrospector to the Jackson ObjectMapper in the following manner.

new ObjectMapper()
    .setAnnotationIntrospector(new JacksonLombokAnnotationIntrospector());

Now you can serialize and deserialize Lombok objects with generated constructors like the following class.

private static class ImmutablePojo {
    String name;
    String string;

##Installation Add the following maven depency


##Licence All files are provided under an MIT license.

You can’t perform that action at this time.