We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 73fa294 + 2948027 commit 277657dCopy full SHA for 277657d
docs/src/main/asciidoc/kotlin.adoc
@@ -470,9 +470,9 @@ import io.fabric8.kubernetes.client.utils.Serialization
470
import com.fasterxml.jackson.module.kotlin.KotlinModule
471
472
...
473
-
474
-Serialization.jsonMapper().registerModule(KotlinModule())
475
-Serialization.yamlMapper().registerModule(KotlinModule())
+val kotlinModule = KotlinModule.Builder().build()
+Serialization.jsonMapper().registerModule(kotlinModule)
+Serialization.yamlMapper().registerModule(kotlinModule)
476
----
477
478
_Please test this carefully on compilation to native images and fallback to Java-compatible Jackson bindings if you experience problems._
0 commit comments