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
{{ message }}
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
@JsonUnwrapped is a Jackson annotation that "flattens" the attributes of an inner variable and puts all key/values into the current level of the json body.
The @JsonUnwrapped payload is not taken into account by JsonApiary. I tested and debugged around. The ObjectMapper treats it correctly (even with Jsonapiary module loaded) if not wrapped in a JsonApiEnvelope. But as soon as an object gets wrapped in JsonApiEnvelop the unwrapping no longer happens.
Unfortunately this goes beyond my knowledge of Jackson. My gut feeling after debugging tells me that JsonApiary code calls a layer of Jackson where the unwrapping already should have happened and that the JsonApiaryModule calls the wrong method.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@JsonUnwrapped is a Jackson annotation that "flattens" the attributes of an inner variable and puts all key/values into the current level of the json body.
The @JsonUnwrapped payload is not taken into account by JsonApiary. I tested and debugged around. The ObjectMapper treats it correctly (even with Jsonapiary module loaded) if not wrapped in a JsonApiEnvelope. But as soon as an object gets wrapped in JsonApiEnvelop the unwrapping no longer happens.
Unfortunately this goes beyond my knowledge of Jackson. My gut feeling after debugging tells me that JsonApiary code calls a layer of Jackson where the unwrapping already should have happened and that the JsonApiaryModule calls the wrong method.
The text was updated successfully, but these errors were encountered: