File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/main/kotlin/com/fasterxml/jackson/module/kotlin Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,17 @@ class KotlinModule @Deprecated(
53
53
val nullIsSameAsDefault : Boolean = NullIsSameAsDefault .enabledByDefault,
54
54
val singletonSupport : SingletonSupport = DISABLED ,
55
55
val strictNullChecks : Boolean = StrictNullChecks .enabledByDefault,
56
+ @Deprecated(
57
+ level = DeprecationLevel .WARNING ,
58
+ message = " There was a discrepancy between the property name and the Feature name." +
59
+ " To migrate to the correct property name, it will be ERROR in 2.18 and removed in 2.19." ,
60
+ replaceWith = ReplaceWith (" kotlinPropertyNameAsImplicitName" )
61
+ )
56
62
val useKotlinPropertyNameForGetter : Boolean = KotlinPropertyNameAsImplicitName .enabledByDefault,
57
63
val useJavaDurationConversion : Boolean = UseJavaDurationConversion .enabledByDefault,
58
64
) : SimpleModule(KotlinModule : :class.java.name, PackageVersion .VERSION ) {
65
+ val kotlinPropertyNameAsImplicitName: Boolean get() = useKotlinPropertyNameForGetter
66
+
59
67
companion object {
60
68
// Increment when option is added
61
69
private const val serialVersionUID = 2L
You can’t perform that action at this time.
0 commit comments