eclipse-ee4j / eclipse-ee4j/yasson

@JsonbTransient on field and lombok getters with property access

Open
#386 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
218
Forks
109
Avg merge
1d 5h
Merged PRs (30d)
9

Description

How should I use the standard **property** (de)serializing (instead of field (de)serializing) with **Lombok**?

For example, I set a field with `@JsonbTransient` and all my getters are created by Lombok so I cannot set the `@JsonbTransient `to the getters. Yasson ignores my field annotation when using the standard property access. But with that I am forced to put those getters by myself instead of using lombok. Would be nice if yasson has a global property to config such things..

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported interaction between standard property access, Lombok-generated getters, and @JsonbTransient. Read the property (de)serialization and annotation-handling paths to determine whether the requested behavior is defined; done requires a documented, tested decision for field annotations and any global configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.