diff --git a/internal/decoder/stream.go b/internal/decoder/stream.go index 6f337d7..8e21c56 100644 --- a/internal/decoder/stream.go +++ b/internal/decoder/stream.go @@ -281,6 +281,7 @@ func (s *Stream) skipObject(depth int64) error { s.cursor = cursor if s.read() { _, cursor, p = s.statForRetry() + cursor++ continue } return errors.ErrUnexpectedEndOfJSON("string of object", cursor)