We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey there, occasionally there is a use case for having an ID as a key in a JSON object. For example:
{ "INTERNAL_ID": { "id": "INTERNAL_ID", "additional_stuff": [] } }
OliveBranch will change that to:
{ "internalId": { "id": "INTERNAL_ID", "additional_stuff": [] } }
Is there a way to ignore certain keys (e.g. using a list of ignored keys)?
The text was updated successfully, but these errors were encountered:
@michaelrbock perhaps you could implement a custom camelize method that ignores keys that match a certain conditional? https://github.com/vigetlabs/olive_branch#optimizations-and-configuration
camelize
Sorry, something went wrong.
No branches or pull requests
Hey there, occasionally there is a use case for having an ID as a key in a JSON object. For example:
OliveBranch will change that to:
Is there a way to ignore certain keys (e.g. using a list of ignored keys)?
The text was updated successfully, but these errors were encountered: