On Wed, Feb 20, 2013 at 8:38 AM, Noah White <emailnbw_at_gmail.com> wrote:
> All the examples I have seen configure Jackson POJO mapping (non-JAXB) using the web.xml.
>
> Is there a way to do this programmatically?
Yes, ObjectMapper is registered using standard JAX-RS provider mechanism.
Same for Jackson JAX-RS provider. So web.xml is just one way.
And in fact, Jackson 2.0 JAX-RS provider auto-registers, if added in classpath.
-+ Tatu +-