Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KeyDecodingStrategy option #106

Closed
fl034 opened this issue Jan 27, 2020 · 0 comments · Fixed by #124
Closed

Add KeyDecodingStrategy option #106

fl034 opened this issue Jan 27, 2020 · 0 comments · Fixed by #124

Comments

@fl034
Copy link

fl034 commented Jan 27, 2020

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.

@fl034 fl034 changed the title Add KeyDecodingStrategy Add KeyDecodingStrategy option Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant