fix cursor issue

This commit is contained in:
KimHyeonwoo 2022-07-18 19:41:08 +09:00
parent 3eafdb6129
commit 70d6286ba8
1 changed files with 1 additions and 0 deletions

View File

@ -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)