users@jersey.java.net

[Jersey] Re: Proper Configuration of Jackson 2.0 in Jersey 2.6

From: Ted M. Young [_at_jitterted] <tedyoung_at_gmail.com>
Date: Mon, 24 Feb 2014 09:27:42 -0800

There's this JIRA that's in the backlog:
https://java.net/jira/browse/JERSEY-2107

But the one I filed about the ContextResolver appears to have been closed
in 2.6, but I haven't tried it yet: https://java.net/jira/browse/JERSEY-2322

;ted




On Mon, Feb 24, 2014 at 9:16 AM, Robert DiFalco <robert.difalco_at_gmail.com>wrote:

> 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
>