respondJson

inline suspend fun <T> ApplicationCall.respondJson(payload: T, code: Int = 200)
suspend fun ApplicationCall.respondJson(payload: TReponse)