Replace ObjectMapper.copy() with rebuild().build()

Apache 2.0

In Jackson 3, ObjectMapper.copy() was removed. Use mapper.rebuild().build() instead.

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

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