module

Ipconv::CsvSerializer

Serializer for RFC 4180 compliant CSV output.

Constants

CRLF = "\r\n"

Class methods

serialize(data : Hash(String, String)) : String

Serializes data as CSV with header and single row.

Source
serialize_array(rows : Array(Hash(String, String))) : String

Serializes an array of rows into a CSV table with unified headers.

Source