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

@JsonbTransient does not work on abstract classes #454 #572

Merged
merged 2 commits into from
Aug 26, 2022

Conversation

jbescos
Copy link
Member

@jbescos jbescos commented Aug 24, 2022

Relates to #454

@Test
public void test() {
Jsonb jsonb = JsonbBuilder.create(new JsonbConfig());
assertEquals("{\"field2\":\"bbb\"}", jsonb.toJson(new TheInterface() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make this common JSON you are comparing to as some String variable. It is the same in all comparisons.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is done now.

Signed-off-by: Jorge Bescos Gascon <[email protected]>
@Verdent Verdent merged commit a7fb7a4 into eclipse-ee4j:master Aug 26, 2022
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

Successfully merging this pull request may close these issues.

2 participants