Registry / serialization / jackson-module-scala-2-13

jackson-module-scala-2-13

JSON →
library2.21.2javamavenunverified

Adds support for serializing and deserializing Scala case classes and collections using Jackson.

<dependency> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>jackson-module-scala_2.13</artifactId> <version>2.21.2</version> </dependency>
INSTALL
IMPORT
SIG · JACKSON-MODULE-SCA
J
jackson-module-scala-2-13
serializationjavav2.21.2
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.

DefaultScalaModule
com.fasterxml.jackson.module.scala.DefaultScalaModule

Register the Scala module with an ObjectMapper to enable Scala type support.

import com.fasterxml.jackson.module.scala.DefaultScalaModule import com.fasterxml.jackson.databind.ObjectMapper val mapper = new ObjectMapper() mapper.registerModule(DefaultScalaModule) val json = mapper.writeValueAsString(Map("key" -> "value"))
Debug
Known issues
breakingScala version mismatch: Use the module artifact matching your Scala version (e.g., _2.13 for Scala 2.13).
fix
Ensure the artifact suffix matches your Scala major version.
affects: all
Upgrade
Version history
2.21.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jackson-module-scala-2-13 — mvn dependency:get jackson-module-scala-2-13 · libregistry