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

Enable configuration of custom logic for transformation of map keys #611

Open
sirthias opened this issue Jan 27, 2023 · 1 comment
Open

Comments

@sirthias
Copy link
Owner

Currently there is no way to customize the handling of map keys during decoding, which means that the names have to line up perfectly. If it was possible to hook in custom logic like _.toLowerCase oder _.toCamelCase flexibility for decoding serializations from 3rd party sources would be greatly increased.

Also, it'd be great to have an annotation allowing for setting alternate names of case class members in serializations.

@sirthias sirthias changed the title Enable configuration of custom logic for transformation of map keys during decoding Enable configuration of custom logic for transformation of map keys Jan 27, 2023
@OndrejSpanel
Copy link
Contributor

The encoding might be also able to handle non-string types, therefore implementing most of #315

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

No branches or pull requests

2 participants