diff options
Diffstat (limited to 'decode.go')
-rw-r--r-- | decode.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -860,7 +860,7 @@ func DecodeObject(r io.RuneScanner, decodeKey, decodeVal func(io.RuneScanner) er dec.panicType(t.JSONType(), nil, fmt.Errorf("did not consume entire %s", t.JSONType())) } }) - return + return err } func (dec *Decoder) decodeObject(gTyp reflect.Type, decodeKey, decodeVal func()) { |