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, folks!
I wonder if it is possible to implement some custom mapping of keys?
E.g. I have a json {"a": 1, "b": 2} and I want to decode it to defstruct key_one: '', key_two: ''
{"a": 1, "b": 2}
defstruct key_one: '', key_two: ''
Do you think it is possible to implement such behavior within your library? I can do that if you approve that it is suitable for your project.
The text was updated successfully, but these errors were encountered:
@devinus WDYT?
Sorry, something went wrong.
I'd love to have this, so our JSON can use camelCase keys, and our elixir can stay in snake_case
camelCase
snake_case
No branches or pull requests
Hey, folks!
I wonder if it is possible to implement some custom mapping of keys?
E.g. I have a json
{"a": 1, "b": 2}
and I want to decode it todefstruct key_one: '', key_two: ''
Do you think it is possible to implement such behavior within your library?
I can do that if you approve that it is suitable for your project.
The text was updated successfully, but these errors were encountered: