SerializationConverter

fun SerializationConverter(): SerializationConverter

Deprecated: Specify format explicitly. E.g SerializationConverter(Json(…))

This is no longer supported. Instead, specify format explicitly or use the corresponding DSL function.

install(ContentNegotiation) {
    json() // json with the default config
    json(Json.strict) // strict json
    register(..., SerializationConverter(Json(Json.nonstrict)) // more generic and longer way
}