1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-24 23:16:47 +02:00

#61 remove stringLazyAny

This commit is contained in:
Tao Wen
2017-06-18 22:24:11 +08:00
parent 985e263300
commit 9f9ca4c9fc
2 changed files with 0 additions and 139 deletions

View File

@ -171,13 +171,6 @@ func (iter *Iterator) readNumberAny(positive bool) Any {
}
}
func (iter *Iterator) readStringAny() Any {
iter.startCapture(iter.head - 1)
iter.skipString()
lazyBuf := iter.stopCapture()
return &stringLazyAny{baseAny{}, iter.cfg, lazyBuf, nil, ""}
}
func (iter *Iterator) readObjectAny() Any {
iter.startCapture(iter.head - 1)
iter.skipObject()