-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Add annotation to support registering Jackson key serializer/deserializers #16544
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 annotation to support registering Jackson key serializer/deserializers #16544
Conversation
…ring-boot into support-jackson-key-serializers
Nice. Thanks @maly7! |
Update `@JsonComponent` so that it can also be used to register key serializers and deserializers. See gh-16544
Thanks @maly7 for your first contribution to Spring Boot! This has now been squashed and merged to master along with a polish commit. I went back and forth a few times trying different attribute names and ended up renaming them to Thanks again! |
Thanks, @philwebb! |
Update `@JsonComponent` so that it can also be used to register key serializers and deserializers. See spring-projectsgh-16544
Fixes #16469
Updates
@JsonComponent
so that serializers/deserializers can be registered as key based. Also allows for explicitly declaring the classes the component can handle.