Sebastian Daschner created JOHNZON-68:
-----------------------------------------
Summary: @JsonbTransient is not working
Key: JOHNZON-68
URL: https://issues.apache.org/jira/browse/JOHNZON-68
Project: Johnzon
Issue Type: Bug
Affects Versions: 0.9.3-incubating
Reporter: Sebastian Daschner
When annotating a field with {{@JsonbTransient}} that field is still included
in the JSON.
Example:
{code}
public class Book {
@JsonbTransient
private long id;
@JsonbProperty("_name")
private String name;
// getters & setters
}
{code}
The output of that example is:
{code}
{"_name": "test", "id":123}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)