You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-07-06 23:37:39 +02:00
#130 loadMore should use iter.captured
This commit is contained in:
@ -236,7 +236,7 @@ func (iter *Iterator) loadMore() bool {
|
||||
}
|
||||
return false
|
||||
}
|
||||
if iter.captureStartedAt != -1 {
|
||||
if iter.captured != nil {
|
||||
iter.captured = append(iter.captured,
|
||||
iter.buf[iter.captureStartedAt:iter.tail]...)
|
||||
iter.captureStartedAt = 0
|
||||
|
Reference in New Issue
Block a user