CSV.swift
CSV.swift copied to clipboard
Add KeyDecodingStrategy option
I got a huge CSV file with snake_case headers I want to decode to camelCased Swift properties. Foundation's JSONDecoder already has this very handy option:
https://developer.apple.com/documentation/foundation/jsondecoder/2949119-keydecodingstrategy
Would be awesome to be able to define a key transformation like this.