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 option to preserve the underscore keys when converting to camelCase #154

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

chellman
Copy link

I can imagine situations where one might currently be consuming the underscore versions of keys, and want to introduce camelCase as the better/canonical way. Preserving the old keys while keeping the new can be a nice compatibility bridge to leave up for a while.

This PR adds the underscore version alongside the camelCase version via an option. There are associated updates to the README, and a passing test.

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 this pull request may close these issues.

1 participant