Kristian Nedrevold
10/16/2022, 6:54 PMAleksei Tirman [JB]
10/17/2022, 12:53 PMKristian Nedrevold
10/17/2022, 3:26 PM// ...
import io.ktor.server.resources.*
// ...
fun Application.configure() {
install(ContentNegotiation) {
json(Json {
prettyPrint = true
isLenient = true
ignoreUnknownKeys = true
})
}
install(Resources)
}