Hey guys, what's your preferred way to read xml fi...
# announcements
p
Hey guys, what's your preferred way to read xml files? We're currently using jackson, but it has a nasty bug with empty lists (https://github.com/FasterXML/jackson-dataformat-xml/issues/124). Unfortunately we don't have access to the output parameters of the xml, so we gotta find something else. Any recommendations?
n
can you not update to 2.12?
I guess it's not out yet...
p
Yeah well, that's unfortunately the thing. Finding a json library for kotlin seems to be no problem, but doing the same for xml is harder than expected..
v
You can for both use kotlinx.serialization
JSON is built-in, XML is provided by https://github.com/pdvrieze/xmlutil
p
Oh, nice. I'll dig into that, thanks!