Why Jacksons annotation are being ignored in a JAX-RS resources deployed in EAP 6?

Solution Verified - Updated -

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 @JsonIgnore in 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content