Here it is: <https://gist.github.com/fluidsonic/0f...
# ktor
m
Here it is: https://gist.github.com/fluidsonic/0f46dbf2c2269d7fbba3348fea7666c5 Usage:
Copy code
install(QueryConsideringContentNegotiation) {
    allowedMethods = setOf(HttpMethod.Get, HttpMethod.Head) // default = Get
    parameterName = "entity" // default

    converters {
        jackson  {
            // …
        }

        gson {
            // …
        }
    }
}
If anyone can think of a simpler way without copying `ContentNegotiation`'s functionality that would be much appreciated 🙂