Function parse_ndjson_bufreader_par

Source
pub fn parse_ndjson_bufreader_par<'a>(
    args: &Cli,
    file_path: &PathBuf,
    errors: &'a ErrorsPar<IndexedNDJSONError>,
) -> Result<impl ParallelIterator<Item = (String, Value)> + 'a, NDJSONError>
Expand description

Indexes data from the file_path with a bufreader, converts it to serde JSON Values and filters out data that does not parse as JSON to the errors container. Multithreaded version of parse_ndjson_bufreader.

See also: parse_ndjson_bufreader, parse_ndjson_receiver_par & parse_ndjson_iter_par