RestEasy JSON ObjectMapper with SwitchYard
Issue
Our Switchyard project consumes an external REST service which returns JSON, and the elements of the JSON work with Polymorphic Subtypes. We need to use a custom ObjectMapper, similar as shown in this KBase article. How can I configure Switchyard's RestEasy client to support this customization?
Environment
- Red Hat JBoss Fuse
- 6.3.0
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.
