Skip to content

Commit

Permalink
Merge pull request #341 from orisano/fix/#340
Browse files Browse the repository at this point in the history
fix: incorrect handling on skipValue
  • Loading branch information
goccy authored Mar 4, 2022
2 parents 116e62d + accf52d commit 1960b85
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/decoder/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,6 @@ func (s *Stream) skipValue(depth int64) error {
continue
} else if c == nul {
if s.read() {
s.cursor-- // for retry current character
_, cursor, p = s.stat()
continue
}
Expand Down

0 comments on commit 1960b85

Please sign in to comment.