hello 🙂. is there something similar to
@JsonAnyGetter
from jackson in kotlinx serialization? or, assuming I have a json like
{
field: value,
second: value,
another: value
}
how can I map into something a class like
@Serializable
class MyClass(val field: String, val additional: Map<String, String>)
?
bonus question, coming from jackson, I spent most of day trying to figure out how to handle
val additional: Map<String, Any>
, but that is not really possible with kotlin serialization right?