Is it possible to deserialize a Kotlin `object`, i...
# jackson-kotlin
h
Is it possible to deserialize a Kotlin
object
, i.e. returning always the same instance for a certain
JsonSubTypes.Type
?
d
Copy code
object Foo {
  @JvmStatic
  @JsonCreator
  fun fromJson() = Foo
}
Should work, but that's just from memory
h
That works perfectly, thank you very much