jakartaee / jakartaee/jsonb-api
Support builder pattern like Jackson's @JsonPOJOBuilder
- Dominant language
- Java
- Stars
- 95
- Forks
- 41
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 35
Description
Currently using JSON-B with immutable objects is hardly doable.
@JsonbCreator is only partially helpful here, but makes all parameters required. But also with many parameters the solution starts to smell. Normally one would use the builder pattern in this scenario. However unlike Jackson (@JsonPOJOBuilder) JSON-B does not support it.
Contributor guide
Research direction
Start by reviewing the JSON-B API context around @JsonbCreator and compare the requested behavior with Jackson's @JsonPOJOBuilder. Define the API shape needed to support immutable objects with builder-based deserialization without requiring every constructor parameter, then determine how completion would be verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100