What are folks using for XML databinding in Kotlin? JAXB, Jackson, something else?
j
jw
06/04/2020, 4:17 PM
kotlinx.serialization has a third-party adapter which makes it work
K 1
r
Ryan
06/04/2020, 4:22 PM
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
Sam Garfinkel
06/04/2020, 4:30 PM
@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.