From 1e3a34128989aa84a11fdb238f42aff862a4ffa4 Mon Sep 17 00:00:00 2001 From: Hubert Van De Walle Date: Fri, 24 Apr 2020 02:08:42 +0200 Subject: [PATCH] Disable json pretty formating --- api/src/features/ContentNegotiationFeature.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/src/features/ContentNegotiationFeature.kt b/api/src/features/ContentNegotiationFeature.kt index 3b91178..8906914 100644 --- a/api/src/features/ContentNegotiationFeature.kt +++ b/api/src/features/ContentNegotiationFeature.kt @@ -7,8 +7,6 @@ import io.ktor.jackson.* fun Application.contentNegotiationFeature() { install(ContentNegotiation) { - jackson { - enable(SerializationFeature.INDENT_OUTPUT) - } + jackson {} } } \ No newline at end of file