pub fn source_with_sample<R: BufRead>( reader: R, sample: usize, ) -> Result<JsonlSource<R>, DataError>
Stream JSON Lines from reader, sampling the first sample records.
reader
sample