Merge pull request #341 from orisano/fix/#340

fix: incorrect handling on skipValue
This commit is contained in:
Masaaki Goshima 2022-03-04 20:50:49 +09:00 committed by GitHub
commit 1960b8569c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -423,7 +423,6 @@ func (s *Stream) skipValue(depth int64) error {
continue continue
} else if c == nul { } else if c == nul {
if s.read() { if s.read() {
s.cursor-- // for retry current character
_, cursor, p = s.stat() _, cursor, p = s.stat()
continue continue
} }