You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
report error when string end not found
This commit is contained in:
@ -92,6 +92,7 @@ func (iter *Iterator) readStringSlowPath() (ret string) {
|
||||
str = append(str, c)
|
||||
}
|
||||
}
|
||||
iter.reportError("ReadString", "unexpected end of input")
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user