I am looking for advice on how to serialize an arr...
# serialization
m
I am looking for advice on how to serialize an array of "untyped" data into an Object. I have a structure like
["create", true, {more: "properties", different: 123}]
which i want to convert into
class Operation(val type: String, val active: Boolean, properties: Map<String, Any>)
. I am trying to create a
KSerializer
but i fail to generate a fitting descriptor for such a format. Any advice will be appreciated.