Skip to content
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

@Data annotated POJO starting two Capital letter misbehavior when serializing it with Jackson #1609

Closed
ahmed-abdelmoneim opened this issue Mar 14, 2018 · 4 comments

Comments

@ahmed-abdelmoneim
Copy link

ahmed-abdelmoneim commented Mar 14, 2018

I'm annotating POJO called EBilling with @Data which is a part of another class BillingAccount(exposed through REST API) , What I'm founding is repeated occurrence of the EBilling object within the JSON, when I've changed the name to anything but not starting with two capital letters then problem solved, also when I'm using my own setters and getters instead of @Data, this issue occurs with lombok lombok:1.16.18 and Jackson 2.8.9

@rspilker
Copy link
Collaborator

rspilker commented Apr 9, 2018

Sorry I cannot help you, you need a Jackson specialist to help you with this.

@rspilker rspilker added the parked Without further feedback this bug cannot be processed. If no feedback is provided, we close these. label Apr 9, 2018
@Maaartinus
Copy link
Contributor

@ahmed-abdelmoneim > starting with two capital letters

What's the name of the field? Something like eBilling? Then note that they're two incompatible interpretation of Javabeans rules (something like geteBilling and getEBilling) and Lombok and Jackson disagree on them.

@rspilker
Copy link
Collaborator

See #1661

@rzwitserloot rzwitserloot removed the parked Without further feedback this bug cannot be processed. If no feedback is provided, we close these. label Jan 2, 2021
@rzwitserloot
Copy link
Collaborator

Duplicate of #2693

@rzwitserloot rzwitserloot marked this as a duplicate of #2693 Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants