-
Notifications
You must be signed in to change notification settings - Fork 117
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
@JsonKey
is ignored with parameter-names module registered
#206
Comments
Interesting. I can reproduce this with parameter-names module; hope to figure out how it works... cannot immediately figure out why there should be any difference. |
Ahhhhh. So the original issue forgot to augment |
@JsonKey
is ignored with parameter-names module registered
Fixed via FasterXML/jackson-databind#3060 |
@bertwin Thank you for reporting this issue! Turns out it was a piece missing from original |
Describe the bug
When hibernate5 or parameter-names modules are registered, the keys are serialized using
toString()
instead of using the@JsonKey
annotated property.Version information
2.12.1
To Reproduce
Expected behavior
Expected in all cases:
Actual
The text was updated successfully, but these errors were encountered: