Replace deprecated PropertyNamingStrategy inner classes and constants
Apache 2.0Replace usages of deprecated PropertyNamingStrategy inner classes and constants with their PropertyNamingStrategies equivalents, introduced in Jackson 2.12.
org. openrewrite. java. jackson. ReplacePropertyNamingStrategyConstantsmod run . --recipe= org. openrewrite. java. jackson. ReplacePropertyNamingStrategyConstantsInstall 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.
- Change type
com.fasterxml.jackson.databind.PropertyNamingStrategy.SnakeCaseStrategytocom.fasterxml.jackson.databind.PropertyNamingStrategies.SnakeCaseStrategy - Change type
com.fasterxml.jackson.databind.PropertyNamingStrategy.UpperCamelCaseStrategytocom.fasterxml.jackson.databind.PropertyNamingStrategies.UpperCamelCaseStrategy - Change type
com.fasterxml.jackson.databind.PropertyNamingStrategy.LowerCamelCaseStrategytocom.fasterxml.jackson.databind.PropertyNamingStrategies.LowerCamelCaseStrategy - Change type
com.fasterxml.jackson.databind.PropertyNamingStrategy.KebabCaseStrategytocom.fasterxml.jackson.databind.PropertyNamingStrategies.KebabCaseStrategy - Change type
com.fasterxml.jackson.databind.PropertyNamingStrategy.LowerDotCaseStrategytocom.fasterxml.jackson.databind.PropertyNamingStrategies.LowerDotCaseStrategy - Change type
com.fasterxml.jackson.databind.PropertyNamingStrategy.LowerCaseStrategytocom.fasterxml.jackson.databind.PropertyNamingStrategies.LowerCaseStrategy - Replace constant with another constant
- Replace constant with another constant
- Replace constant with another constant
- Replace constant with another constant
- Replace constant with another constant
- Replace constant with another constant