Jackson

The most widely used Java library for converting between Java objects and JSON, and the default in Spring Boot.

In more detail

Jackson reads records through their components and writes them using the component names as JSON field names. Its ObjectMapper holds the rules for naming, dates and unknown fields. Extra modules add support for types such as java.time dates.

Examples

com.fasterxml.jackson.core:jackson-databind:2.22.2
com.fasterxml.jackson.datatype:jackson-datatype-jsr310

Related terms

Taught in

References