https://kotlinlang.org logo
#ktor
Title
# ktor
r

ribesg

09/20/2019, 9:10 AM
Anyone used the Ktor Client with an endpoint returning XML? Is there any better solution than this? https://github.com/pdvrieze/xmlutil
I guess I’ll just make the endpoint return String then use something like Jackson
c

cy

09/20/2019, 10:27 AM
It sounds like abuse but I believe you can make
JsonFeature
do what you need, but you will need to write your
JsonSerializer
implementation that actually work with XML 😄
2 Views