// Reset resets the reader for reading from r.
Reset resets the reader for reading from r.
// Reset resets the reader for reading from r .
func (tr *Reader) Reset(r io.Reader) {
	tr.r = r
	tr.rb = nil
	tr.rErr = nil
	tr.col = 0
	tr.row = 0
	tr.rowBuf = nil
	tr.b = nil
	tr.scratch = tr.scratch[:0]
	tr.err = nil
	tr.needUnescape = false
}
func ( tr * Reader ) Reset ( r io . Reader ) { tr . r = r tr . rb = nil tr . rErr = nil tr . col = 0 tr . row = 0 tr . rowBuf = nil tr . b = nil tr . scratch = tr . scratch [ : 0 ] tr . err = nil tr . needUnescape = false }
Reset resets the reader for reading from r.
Reset resets the reader for reading from r .