Jeremy
09/24/2019, 6:32 PMPHondogo
09/24/2019, 7:14 PMJeremy
09/24/2019, 7:57 PMgildor
09/25/2019, 2:25 AMplugin for ktor to convert xml to pojoYou can use Jackson and XmlMapper. And create ContentNegatiation feature for Ktor (not sure that there is one available for XML, you can check how Jackson ContentNegatiation feature is implemented for Json https://github.com/ktorio/ktor/blob/master/ktor-features/ktor-jackson/jvm/src/io/ktor/jackson/JacksonConverter.kt Also probably make sense to create a fetaure request to provide ktor-jackson-xml dependency, but it’s quite trivial to implement yourself
PHondogo
09/25/2019, 5:30 AM