jakartaee / jakartaee/jsonb-api
JsonbProperty and JsonbNillable together not functioning
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 95
- Forks
- 41
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 35
Description
If @JsonbPreoprty(nillable) is deprecated, what is the proper usage to use both @JsonbProperty and @JsonbNillable? I have tried several different combination with none of them working. We have an instance where overriding the field value and applying nillable are both wanted. It works with using @JsonbProperty(value,nillable), however, the project then produces a ton of deprecated warnings.
Also, I have had a StackOverflow post with more information .
https://stackoverflow.com/questions/74575063/java-jsonb-jsonbnillable-not-functioning-as-expected
Any assistance is welcomed.
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported combination of @JsonbProperty and @JsonbNillable, then read the linked Stack Overflow post for the additional reproduction details. Check how the two annotations are defined and intended to interact; the work is complete when their supported usage or incompatibility is clearly established and the issue's deprecation concern is addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100