rrva
09/18/2022, 5:29 PMobject Foo { ... }
why is it still possible to read an instance of this "class" using jackson objectMapper with objectMapper.readValue(input, Foo::class.java)
and then I can access fields from that.. Does this not violate the singleton?ephemient
09/18/2022, 7:48 PMephemient
09/18/2022, 8:02 PMom.fasterxml.jackson.module.kotlin.KotlinModule
but it turns out to break other parts of Jackson, https://github.com/FasterXML/jackson-module-kotlin/issues/281