go icon indicating copy to clipboard operation
go copied to clipboard

iter: add new method ReadObjectAsSlice()

Open giuseppe opened this issue 3 years ago • 3 comments

similarly to ReadStringAsSlice(), ReadObjectAsSlice() reads an object from the iterator without converting to the string type.

The result cannot be kept around, as it is valid only until the next read from the iterator.

Signed-off-by: Giuseppe Scrivano [email protected]

giuseppe avatar Jan 10 '22 08:01 giuseppe

@taowen @thockin PTAL

giuseppe avatar Jan 10 '22 08:01 giuseppe

@cch123 PTAL

giuseppe avatar Jan 20 '22 15:01 giuseppe

@AllenX2018 can you please take a look?

giuseppe avatar Jan 24 '22 08:01 giuseppe