From 759f716eeb22bf1cb82817be827418594eaa57b9 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Thu, 20 Oct 2022 16:20:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E7=A9=BA=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E7=BB=84json=E8=A7=A3=E6=9E=90=E5=BC=82=E5=B8=B8=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lego/utils/codec/json/reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lego/utils/codec/json/reader.go b/lego/utils/codec/json/reader.go index d6388e2d8..8753ae351 100644 --- a/lego/utils/codec/json/reader.go +++ b/lego/utils/codec/json/reader.go @@ -117,10 +117,10 @@ func (this *JsonReader) ReadArrayStart() (ret bool) { } func (this *JsonReader) CheckNextIsArrayEnd() (ret bool) { c := this.nextToken() - this.unreadByte() if c == ']' { return true } + this.unreadByte() return } func (this *JsonReader) ReadArrayEnd() (ret bool) {