CSV icon indicating copy to clipboard operation
CSV copied to clipboard

A simple CSV file parser and serializer

Results 4 CSV issues
Sort by recently updated
recently updated
newest added

A main use case I have for this package is ingesting CSV files in Swift from exported existing database tables. Many database tables have snake_cased column names or don't exactly...

enhancement

Characters are lost when parsing a slightly modified version of your test data: `let data = """ first name,last_name,age,gender,tagLine TinTin,,16,M,"=HYPERLINK(""https://en.wikipedia.org/wiki/The_Great_Snake"",""Great snakes!"")" """ ` CSV produces the following when processing the...

Take this code: ``` struct Asd: Codable { var asd: String var zuio = 0 } let config = Config(cellSeparator: UInt8(ascii: ","), cellDelimiter: nil) let encoder = CSVEncoder(configuration: config).sync let...

When encoding, we have to pass an array to the encoder: ``` try encoder.encode([obj1, obj2])` ``` but when decoding we have to pass the type of the object in the...