1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-03-31 20:58:40 +03:00
parent 4f81478ad6
commit 60e19de9e2

View File

@@ -3971,6 +3971,7 @@ const jsonOptionsContextKey = "iris.context.json_options"
// ctx.SetJSONOptions(iris.JSON{
// ErrorHandler: errHandler,
// })
// ctx.Next()
// })
func (ctx *Context) SetJSONOptions(opts JSON) {
ctx.values.Set(jsonOptionsContextKey, opts)