so, will the JSON ast parser stuff enable us to us...
# serialization
h
so, will the JSON ast parser stuff enable us to use polymorphic json objects with
@type
entry? https://github.com/Kotlin/kotlinx.serialization/pull/132
s
In theory yes, but it’s not automated. You’ll need to manually write deserializer for that, which will first deserializer to json-ast, look into
@type
and then use corresponding to type deserializer
b
How do we deserialize a given object or field to a general JSON AST from a manually written deserializer? I was never able to figure out which read method could do that.
b
💥 just what I needed, thanks!