We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88055c1 commit 686f1d4Copy full SHA for 686f1d4
response_handlers.go
@@ -40,5 +40,5 @@ func jsonHandler(_ string, r io.Reader, obj interface{}, strict bool) error {
40
if strict {
41
d.DisallowUnknownFields()
42
}
43
- return json.NewDecoder(r).Decode(obj)
+ return d.Decode(obj)
44
0 commit comments