Skip to main content

parse_table

Function parse_table 

Source
pub fn parse_table(
    rows: Vec<Vec<String>>,
    path: &Path,
    options: &Options,
) -> Result<Value>
Expand description

The generic table stage: interpret a plain row table ([[key, value, format], …]) with the options.table semantics — the same stage the csv format feeds. Public so custom table-shaped formats (spreadsheets, markdown tables, …) can lower their file into rows and reuse it; path labels errors.