i am seeing a strange issue with ktor 2.0.2 (does ...
# ktor
b
i am seeing a strange issue with ktor 2.0.2 (does not happen in 2.0.1). i have an endpoint which returns a pretty printed json (call.respond(thePrettyString)) and i debug it to the console before sending it and it looks fine ... then in the test i do testApplication { client.get("/json").bodyAsText() } ... and write it to the console .. and suddenly it looks like this
"{\r\n  \"swagger\" : \"2.0\",\r\n  \"info\" : {\r\n    \"description\" : \"Talks to AD and handles permissions\",\r\n
r
b
ah yes .. that seems to be the problem 🙂