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
When I annotate an EnumMap with @JsonUnwrapped, it's still serialized as a nested object rather than as multiple properties of the parent object. I recently ran into a case where this broke backward-compatibility (I was using the EnumMap to replace multiple fields of the value type). The only workaround seems to be to extend EnumMap rather than delegating to it, but this requires exposing put and putAll.
The text was updated successfully, but these errors were encountered:
When I annotate an EnumMap with
@JsonUnwrapped
, it's still serialized as a nested object rather than as multiple properties of the parent object. I recently ran into a case where this broke backward-compatibility (I was using the EnumMap to replace multiple fields of the value type). The only workaround seems to be to extend EnumMap rather than delegating to it, but this requires exposing put and putAll.The text was updated successfully, but these errors were encountered: