Thanks Mike,

Your question was going to be my next one =). Didn't want to convolute the 
original query.

I took a look at the Jackson javadoc but didn't find anything that said what 
the defaults were.  It seemed to me, based on the functionality of 
JacksonJaxbJsonProvider and JacksonJsonProvider, that the defaults were likely 
the same but I wasn't sure.

- Jesse

-----Mike Rheinheimer <[email protected]> wrote: -----

To: [email protected]
From: Mike Rheinheimer <[email protected]>
Date: 09/21/2010 11:30AM
Subject: Re: Making Jackson the default JSON provider

+1 to making Jackson the default JSON provider.  Most other JAX-RS impls use
it as their default AFAIK, Jackson is a quite active community, and the main
dev lead over there (Tatu Saloranta) was the main developer on Woodstox STAX
parser.  It's a very high quality project.

Looking at WINK-299, I'm not sure what Jason has that Jackson does not
already provide by default.  The JacksonJsonProvider, which is the base
class for JacksonJaxbJsonProvider, already has all of what's shown in 299 as
its defaults:

http://svn.jackson.codehaus.org/browse/jackson/trunk/src/jaxrs/java/org/codehaus/jackson/jaxrs/JacksonJsonProvider.java?r=HEAD
(see locateMapper method, line 565)

Jason, is the explicit mapper instantiation still required, per your code
snippet in WINK-299?

mike


On Tue, Sep 21, 2010 at 10:59 AM, Jesse A Ramos <[email protected]> wrote:

> In reference to WINK-299: https://issues.apache.org/jira/browse/WINK-299
>
> Hi,
>
> As mentioned in WINK-299, Jackson seems to be the best available JSON
> provider.  It would be good to make this default for WINK.  I don't mind
> making the change but wanted to get some opinions on a couple of things.
>
> 1) Does everyone agree that Jackson should be the default JSON provider?
> 2) If so, what default configuration settings should we use?
>
> For question 2, Jason provided a code snippet for what he is using in
> WINK-299.  It likes good to me as a default configuration.  If others
> agree I can use that, otherwise let me know what other configuration
> settings you would like to use.
>
> Thanks,
> Jesse

Reply via email to