Skip to main content

rows_to_csv

Function rows_to_csv 

Source
pub fn rows_to_csv(headers: &[String], rows: &[Value]) -> String
Expand description

Render rows to CSV with the given column order. Values are stringified; strings/numbers/bools render plainly, other JSON as compact text.