
Replacing org.n52 JtsModule for Jackson 3: Introducing io.github.aytronnfr.jackson.jts.JtsModule
Replacing org.n52.jackson.datatype.jts.JtsModule for Jackson 3: Introducing io.github.aytronnfr.jackson.jts.JtsModule If you are migrating to Spring Boot 4 and Jackson 3, you have probably hit this problem: your geospatial JSON stack still depends on Jackson 2-era modules, but your app now runs on tools.jackson.* . I hit the same wall and built a replacement module: old : org.n52.jackson.datatype.jts.JtsModule new : io.github.aytronnfr.jackson.jts.JtsModule Repository: https://github.com/aytronnFR/jts-jackson3-module TL;DR jts-jackson3-module provides GeoJSON serialization/deserialization for JTS on Jackson 3 . It is designed for Spring Boot 4.x projects using tools.jackson.* . It includes round-trip and compatibility tests to reduce migration risk. Why this module exists Spring Boot 4 moves to Jackson 3. That means many older JSON modules built around Jackson 2 package names no longer fit cleanly. For JTS geometries, this can block migration or force ugly temporary workarounds. This m
Continue reading on Dev.to
Opens in a new tab




