Add @JsonCreator to non-public constructors

Apache 2.0

Jackson 3 strictly enforces creator visibility rules. Non-public constructors in Jackson-annotated classes that were auto-detected in Jackson 2 need an explicit @JsonCreator annotation to work for deserialization in Jackson 3.

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

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