mirror of https://github.com/goccy/go-json.git
fix cursor issue
This commit is contained in:
parent
3eafdb6129
commit
70d6286ba8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue