What are folks using for XML databinding in Kotlin...
# announcements
s
What are folks using for XML databinding in Kotlin? JAXB, Jackson, something else?
j
kotlinx.serialization has a third-party adapter which makes it work
K 1
r
I don’t use databinding, is it worth it? Does it slow build/compile time down? Seems like whenever I modify xml these day I gotta do a full restart of app.
s
@Ryan I’m referring to de/serialization of XML to POJOs. Some data binding APIs rely on reflection, such as JAXB, Jackson (there might be codegen?), which is of course slower at runtime than a generated API such as kotlinx.serialization.
@jw Are you referring to this library? https://github.com/pdvrieze/xmlutil or something else?
j
that's it
👍 1