You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to register a SimpleModule that simple uses some custom serializers and deserializers I need. Based on the output of mapper.registeredModuleIds, it doesn't appear that the module is being registered to the mapper.
Version information
2.12.2
To Reproduce
val mod = SimpleModule()
.addSerializer(DBDecimal::class.java, DBDecimalSerializer())
.addDeserializer(DBDecimal::class.java, DBDecimalDeserializer())
val mapper = jacksonObjectMapper()
.setTimeZone(TimeZone.getTimeZone("UTC"))
.registerModule(JavaTimeModule())
.registerModule(mod)
.registerModule(MoneyModule())
.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false).also {
println("!!!!!!!!!!!!!!!")
println(it.registeredModuleIds)
}