Join Slack
Powered by
how to parse xml with kotlinx-serializer?
# announcements
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.
d
dam5s
02/20/2020, 4:35 PM
Here is the test class -
https://github.com/pdvrieze/xmlutil/blob/master/serialization/src/commonTest/kotlin/nl/adaptivity/xml/serialization/TestCommon.kt
c
Chills
02/20/2020, 4:51 PM
tbh it doesn't work
Chills
02/20/2020, 5:29 PM
java.lang.ClassNotFoundException: kotlinx.serialization.UnionKind$POLYMORPHIC
4
Views
Open in Slack
Previous
Next