How can one configure EAP 6 to ignore unknown JSON fields in a JAX-RS resource?
Issue
We have a REST web service (a JAX-RS resource) that receives content of media type application/json and uses Jackson as the JSON provider. When the posted JSON contains unknown fields, we receive a 400 error from server. How can we configure our application to ignore these fields?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
