Hello guys, I'm not sure if this is the right chan...
# server
c
Hello guys, I'm not sure if this is the right channel for my question but, could anyone suggest any lib for parsing XML to Data class? Thanks a lot!
e
you could try to use jackson with
jackson-dataformat-xml
extension and with
jackson-module-kotlin
module
d
We use a combination of GSON and org.json:json for the http4k XML support. We support deserialisation to data classes. We did look at Jackson first, but ended up rejecting it - not totally sure why - it might have had something to do with how it deserialises tag content but I can't be 💯% on that
c
Thanks for the answers guys, I tried Jackson lib and everything worked fine.