上传空的数组json解析异常问题
This commit is contained in:
parent
bc8cefa482
commit
759f716eeb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user