From accf52d6952812283cb6180d5d97c94bde177fa4 Mon Sep 17 00:00:00 2001 From: Nao Yonashiro Date: Fri, 4 Mar 2022 20:01:05 +0900 Subject: [PATCH] fix: incorrect handling on skipValue close #340 --- internal/decoder/stream.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/decoder/stream.go b/internal/decoder/stream.go index c274683..a33bec6 100644 --- a/internal/decoder/stream.go +++ b/internal/decoder/stream.go @@ -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 }