skelpo / CSV

A simple CSV file parser and serializer

Home Page:http://www.skelpo.codes/CSV/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyDecodingStrategy

rnantes opened this issue · comments

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 match the property in Swift . It would be convenient to add a keyDecodingStrategy option similar to that of Swifts JSONDecoder so that the values can be mapped without having to rename the csv column headers.