Why Jacksons annotation are being ignored in a JAX-RS resources deployed in EAP 6?
Issue
- We would like to create a different representation of our object by the use of JsonView annotation, however looks like it has no effect when using it with JAX-RS resources deployed into EAP. What can we do to have our JSONview working?
- We use annotations from Jackson to configure the JSON output such as
@JsonIgnorein my Bean objects and it is ignored.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.