Skip to main content

render_value

Function render_value 

Source
pub fn render_value(value: &Value, format: Format) -> Result<Vec<u8>>
Expand description

Render an arbitrary JSON value to the format’s bytes. JSON / YAML accept any shape; CSV / XLSX only accept tabular shapes (array of objects, array of scalars, single object).