Join Slack
Powered by
Anyone used the Ktor Client with an endpoint retur...
# 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
ribesg
09/20/2019, 10:02 AM
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
Open in Slack
Previous
Next