users@jersey.java.net

[Jersey] Proper Configuration of Jackson 2.0 in Jersey 2.6

From: Robert DiFalco <robert.difalco_at_gmail.com>
Date: Mon, 24 Feb 2014 09:16:11 -0800

I'm not really clear on the correct path to do this in 2.6. I had to go
through a lot in 2.5x. Am I to understand that I know longer use
JacksonFeature? That I only need to declare a ContextResolver for my
ObjectMapper instance? If so this doesn't seem to be working for me. Maybe
I need to register the my ContextResolver explicitly (not just annotated
with Provider)? Or maybe I'm missing a dependency? I assumed I could now
exclude media jackson json.

The Jersey documentation is not up to date on this matter and still seems
to be advising on the method used in 2.5 to configure Jackson 1.x.

TIA