File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/main/kotlin/io/github/projectmapk/jackson/module/kogera Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,11 @@ public enum class KotlinFeature(internal val enabledByDefault: Boolean) {
3737 NullIsSameAsDefault (enabledByDefault = false ),
3838
3939 /* *
40- * By default, there's no special handling of singletons (pre-2.10 behavior).
41- * Each time a Singleton object is deserialized a new instance is created.
42- *
4340 * When this feature is enabled, it will deserialize then canonicalize (was the default in 2.10).
4441 * Deserializing a singleton overwrites the value of the single instance.
4542 *
43+ * Prior to 2.18.3-beta18, the default was invalid and a new instance was created each time a singleton object was deserialized.
44+ *
4645 * See [jackson-module-kotlin#225]: keep Kotlin singletons as singletons.
4746 */
4847 SingletonSupport (enabledByDefault = true ),
@@ -55,6 +54,8 @@ public enum class KotlinFeature(internal val enabledByDefault: Boolean) {
5554 * Enabling it protects against this, but it impairs performance a bit.
5655 *
5756 * Also, if contentNulls are custom from findSetterInfo in AnnotationIntrospector, there may be a conflict.
57+ *
58+ * Since 2.18.3-beta19, this option is enabled by default.
5859 */
5960 StrictNullChecks (enabledByDefault = true ),
6061
You can’t perform that action at this time.
0 commit comments