You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example below, a list of Cs should be serialized by converting each C to an A. Unfortunately, Jackson uses the BeanSerializer for the conversion results instead of the serializer configured for A.
One possible reason here is the precedence of @JsonSerialize annotations (property one has higher priority, masking one from class declaration) -- it is possible that "converter" from class is effectively ignored.
Thank you for unit test for this and other bug reports!
Jackson version: 2.3.0
In the example below, a list of
C
s should be serialized by converting eachC
to anA
. Unfortunately, Jackson uses the BeanSerializer for the conversion results instead of the serializer configured forA
.Actual output:
Expected output:
The text was updated successfully, but these errors were encountered: