Skip to main content

parse_csv

Function parse_csv 

Source
pub fn parse_csv(text: &str) -> Result<Omm, OmmError>
Expand description

Parse the first valid GP CSV record into an Omm.

The input must begin with a header row of OMM keyword columns. Additional rows are accepted; malformed records are skipped by parse_csv_array, and this function returns the first record that survives field validation.