Recommendation for XML converter on Android #3732
-
I'm just starting a green-field project. However it needs to consume an API spitting out XML. Looking into the options which XML converter can be hooked into retrofit this is my current list of candidates:
Pluggable XML serializers for kotlinx.serialization:
(Or... sorry I realize this is a truly stupid question to ask here: Use Ktor Client, which seems to have 1st party support for XML) I haven't look deep into these options yet. My wishes would be
I'm happy to hear any opinion on this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I've been using kotlinx.serialization with XMLUtil for a year or so and it works great. You could also use Jackson which I've done in the past. |
Beta Was this translation helpful? Give feedback.
I've been using kotlinx.serialization with XMLUtil for a year or so and it works great. You could also use Jackson which I've done in the past.