Skip to main content

encode_csv

Function encode_csv 

Source
pub fn encode_csv(omms: &[Omm]) -> String
Expand description

Encode Omm records as compact GP CSV.

The emitted header matches the common GP CSV/JSON keyword set. Numeric values use their shortest round-tripping decimal form, and fields containing CSV delimiters are quoted with standard double-quote escaping.