I guess my question above could be better asked. ...
# serialization
s
I guess my question above could be better asked. What is the kotlinx-serialization equivalent of Jackson's convertValue function?
e
I believe you could do
list.map { JsonObject(it) }.map { Json.Default.decodeFromJsonElement<TargetType>(it) }
s
The preview there was incorrect in what I was asking for. Just looking for the ability to essentially convert from one object to another by serialization. Thanks for the comment. I might play around with that and see what I can do.