jakartaee / jakartaee/jsonb-api
Support getter-only list.
- Dominant language
- Java
- Stars
- 95
- Forks
- 41
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 35
Description
Apologies whenever this issue is not appropriate.
May I have a chance of deserializing a collection field using a getter only?
```java
public List getSome() { // JAXB used to work with this.
if (some == null) {
some = new ArrayList<>();
}
return some;
}
//public void setSome(List some) {
// this.some = some;
//}
private List some;
```
Thank you.
Contributor guide
Research direction
The issue names no source files or tests. Start by locating JSON-B collection deserialization and how getter-only properties are discovered, then check the relevant specification or implementation entry point. Done means a getter-only List can be populated during deserialization, with a regression test covering the example behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100