Skip to main content

from_str

Function from_str 

Source
pub fn from_str(data: &str, config: ReaderConfig) -> Io<CsvError, Vec<Row>>
Expand description

Read a CSV from a string (useful for testing and in-memory data).

ยงErrors

Returns CsvError::Csv if any row fails to parse.