https://kotlinlang.org logo
c

Chills

02/20/2020, 3:53 PM
how to parse xml with kotlinx-serializer?
d

dam5s

02/20/2020, 4:24 PM
With a quick glance at the code it looks like it supports Json, Protobuf and Cbor. Not seen anything about XML.
c

Chills

02/20/2020, 4:25 PM
yes but there is xml support with xmlutil but it doesn't seem to work for me, may be there is no example.
c

Chills

02/20/2020, 4:51 PM
tbh it doesn't work
java.lang.ClassNotFoundException: kotlinx.serialization.UnionKind$POLYMORPHIC