go
go copied to clipboard
iter: add new method ReadObjectAsSlice()
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]
@taowen @thockin PTAL
@cch123 PTAL
@AllenX2018 can you please take a look?