Skip to content

Commit a3c4ea0

Browse files
committed
Change option defaults to match the planned changes for Jackson 3.0
1 parent e47a4a3 commit a3c4ea0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/io/github/projectmapk/jackson/module/kogera/KotlinFeature.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public enum class KotlinFeature(internal val enabledByDefault: Boolean) {
4545
*
4646
* See [jackson-module-kotlin#225]: keep Kotlin singletons as singletons.
4747
*/
48-
SingletonSupport(enabledByDefault = false),
48+
SingletonSupport(enabledByDefault = true),
4949

5050
/**
5151
* This feature represents whether to check deserialized collections.
@@ -56,7 +56,7 @@ public enum class KotlinFeature(internal val enabledByDefault: Boolean) {
5656
*
5757
* Also, if contentNulls are custom from findSetterInfo in AnnotationIntrospector, there may be a conflict.
5858
*/
59-
StrictNullChecks(enabledByDefault = false),
59+
StrictNullChecks(enabledByDefault = true),
6060

6161
/**
6262
* This feature represents whether to include in Jackson's parsing the annotations given to the parameters of

0 commit comments

Comments
 (0)