-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Support @JsonValue for key serialization #47
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
Comments
It would be nice that when this support appears, we check that it works with jackson-datatype-guava for Multimap keys. (See the issue linked immediately previous to this comment.) |
Agreed. If anyone has cycles to add a "failing" test (one that resides under "src/test/java/.../failing, and configured to be by-passed for regular build) that would be appreciated. |
Done, see above. |
Nice! |
Finally went back. Not very difficult to do. Still need to see guava side. |
Currently Map key types support a subset of annotations, such as:
JsonSerialize
andJsonDeserialize
propertieskeyAs
andkeyUsing
work@JsonCreator
works for indicating single-String-arg constructors, factory methodsBut one annotation that would seem like an obvious addition,
@JsonValue
, is not yet supported.It should.
The text was updated successfully, but these errors were encountered: