1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-10 05:25:58 +00:00

publish v12.2.0-alpha7 version

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-02-25 20:17:02 +02:00
parent 37c766fef7
commit 70a73ef80b
16 changed files with 824 additions and 237 deletions

View File

@@ -2394,7 +2394,7 @@ func (options JSONReader) getDecoder(r io.Reader, outPtr interface{}) (internalJ
if outPtr != nil {
// If a custom type does not implement the unnmarshal json with context interface
// that is REQUIRED by the gojson, then fallback to the normal gojson decode without context support,
// so we protect compability against existing objects.
// so we protect compatibility against existing objects.
if _, supportsContext := outPtr.(unmarshalerContext); supportsContext {
decodeFunc = dec.DecodeContext
} else {