Function count_rows

Source
pub fn count_rows(full_bytes: &[u8]) -> usize
Available on crate feature json only.
Expand description

Count the number of rows. The slice passed must represent the entire file. This does not check if the lines are valid NDJSON - it assumes that is the case.