Fixed to not use API that will be discontinued in the future

This commit is contained in:
wrongwrong 2023-12-30 16:59:52 +09:00
parent 4791f0d84f
commit 6b765a93b4

View File

@ -24,7 +24,7 @@ import com.fasterxml.jackson.databind.deser.BeanDeserializerModifier
import com.fasterxml.jackson.databind.deser.std.NumberDeserializers
import com.fasterxml.jackson.databind.node.ObjectNode
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
import com.fasterxml.jackson.module.kotlin.KotlinModule
import com.fasterxml.jackson.module.kotlin.kotlinModule
import net.corda.client.jackson.internal.CordaModule
import net.corda.client.jackson.internal.ToStringSerialize
import net.corda.client.jackson.internal.jsonObject
@ -197,7 +197,7 @@ object JacksonSupport {
addSerializer(Date::class.java, DateSerializer)
})
registerModule(CordaModule())
registerModule(KotlinModule().apply {
registerModule(kotlinModule().apply {
setDeserializerModifier(KotlinObjectDeserializerModifier)
})