Jackson best practices

Apache 2.0

Apply best practices for using Jackson library, including upgrade to Jackson 2.x and removing redundant annotations.

org.openrewrite.java.jackson.JacksonBestPractices
mod run . --recipe=org.openrewrite.java.jackson.JacksonBestPractices

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Remove redundant @JsonProperty argument
  2. Replace deprecated PropertyNamingStrategy inner classes and constants
  3. Upgrade Gradle or Maven dependency versions com.fasterxml.jackson*:*:2.x