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

Tony Blundell

08/09/2019, 3:56 PM
Hi are there any examples of XML serialisation with Ktor / Ktor Client?
s

Sam

08/09/2019, 4:59 PM
Ktor relies upon kotlinx.serialization to work which doesn't support xml out of the box. There is a third party plugin for xml. I haven't used it so I cannot say how good it is. There is probably more that would need to happen at the ktor level to use a custom serializer. I'm not sure. https://github.com/pdvrieze/xmlutil
t

Tony Blundell

08/09/2019, 4:59 PM
Thanks, will check it out
m

molikuner

08/10/2019, 3:00 PM
@Tony Blundell does it work?
64 Views