Replies: 3 comments 9 replies
-
We generally don't accept issues that involve 3rd party libs. Can you try reproducing this issue with just plain Java and Jackson libs - ie no lombok, no jersey? |
Beta Was this translation helpful? Give feedback.
-
Also, wrong repository, will move to |
Beta Was this translation helpful? Give feedback.
-
I believe there was bug in previous version which got fixed later.
The above code outputs different results for different version. Version 2.11.4 Version 2.18.4 JavaDoc for REQUIRE_SETTERS_FOR_GETTERS
Question - Wouldn't the constructor in the class above be considered a mutator method? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem: After upgrading the Jackson libraries from version 2.12.7 to 2.18.4, I'm running into an issue where one of the child beans is being serialized as empty when Service A calls Service B using the Jersey Client.
In the setup, Jackson is correctly serializing the
QueryRequest
andPlatform
beans, but somehow it's picking the UnknownSerializer when it tries to serialize theKeyword
bean. This ends up serializing theKeyword
bean as an empty bean.The strange thing is that I don't see this issue if I add the
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
to theKeyword
bean.I'm wondering if anyone has any insights into why this could be happening?
Setup:
Beta Was this translation helpful? Give feedback.
All reactions