1
0
mirror of https://github.com/json-iterator/go.git synced 2025-07-03 23:30:41 +02:00

try to fix #194 with larger array

This commit is contained in:
Tao Wen
2017-11-11 08:31:44 +08:00
parent b1b003864e
commit 9fddff05f0
3 changed files with 5 additions and 6 deletions

View File

@ -168,7 +168,7 @@ func (iter *Iterator) isObjectEnd() bool {
if c == '}' {
return true
}
iter.ReportError("isObjectEnd", "object ended prematurely")
iter.ReportError("isObjectEnd", "object ended prematurely, unexpected char " + string([]byte{c}))
return true
}