mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
16.21.2025 2dc84eab00c82de0ddb0ebaabc2d1493a2987f81
borgbutler-server/src/main/kotlin/de/micromata/borgbutler/server/rest/JacksonConfig.kt
@@ -22,7 +22,7 @@
            return it
        }
        val mapper = ObjectMapper()
        mapper.registerModule(KotlinModule())
        mapper.registerModule((KotlinModule.Builder().build()))
        mapper.configure(DeserializationFeature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT, true)
        mapper.configure(DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES, false)
        val failOnUnknownJsonProperties = RunningMode.runningInIDE