Registry / serialization / jackson-module-jaxb-annotations

jackson-module-jaxb-annotations

JSON →
library2.21.3javamavenunverified

Module that allows using JAXB annotations as an alternative to Jackson's native annotations for configuring JSON serialization.

<dependency> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>jackson-module-jaxb-annotations</artifactId> <version>2.21.3</version> </dependency>
INSTALL
IMPORT
SIG · JACKSON-MODULE-JAX
J
jackson-module-jaxb-annotations
serializationjavav2.21.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JaxbAnnotationModule
com.fasterxml.jackson.module.jaxb.JaxbAnnotationModule

Registers the JAXB annotation module with Jackson's ObjectMapper.

import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.module.jaxb.JaxbAnnotationModule; public class Main { public static void main(String[] args) throws Exception { ObjectMapper mapper = new ObjectMapper(); mapper.registerModule(new JaxbAnnotationModule()); // Now JAXB annotations are recognized } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.21.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jackson-module-jaxb-annotations — mvn dependency:get jackson-module-jaxb-annotations · libregistry