Thank you! Very nice answer, now I have a better overview.
Have a great day!
On 27/10/2010 6:43 PM, Jakub Podlesak-2 [via Jersey] wrote:
> There is not the only one JAXB->JSON serializer in Jersey.
> In fact there are many, two of them using Jackson underneath.
> And to be honest: for backwards compatibility reasons,
> the one set by default is not the best one to use.
>
> The simplest answer to your question then would be:
>
> My recommendation is:
>
> 1) use (Jackson based) POJO mapping feature as described in [1]
> starting from the Jersey version 1.5-ea03, this should also cover
> JAXB beans pretty well (i.e. considering JAXB annotations when
> serializing JSON)
>
> 2) if you need to utilize some special JAXB features, check out the rest
> of available
> methods described in the user doc
>
> HTH,
>
> ~Jakub
>
> [1]https://jersey.dev.java.net/nonav/documentation/latest/json.html#d0e1960
>
> On 10/27/2010 01:03 PM, mxn wrote:
> > Hi,
> >
> > Which are the reasons for which I might want to use the Jackson
> serializer
> > or the JAXB serializer? Are there any advantages/disadvantages of using
> > either of them? I saw the JAXB serializer is a bit more supported in
> the
> > jersey documentation(the documentation for Jackson serializer is very
> > narrow).
> >
> > Thanks!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> </user/SendEmail.jtp?type=node&node=5679139&i=0>
> For additional commands, e-mail: [hidden email]
> </user/SendEmail.jtp?type=node&node=5679139&i=1>
>
>
>
> ------------------------------------------------------------------------
> View message @
> http://jersey.576304.n2.nabble.com/Jersey-JSON-serializer-tp5678107p5679139.html
>
> To unsubscribe from Jersey JSON serializer, click here
> <http://jersey.576304.n2.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=5678107&code=bWF0cml4Lmhhcy5uZW9AZ21haWwuY29tfDU2NzgxMDd8MTE4NzAxNzQ2MA==>.
>
>
--
<iframe src="http://card.ly/mxhn.embed" style="width: 320px; height: 230px; border: 0;"></iframe>
--
View this message in context: http://jersey.576304.n2.nabble.com/Jersey-JSON-serializer-tp5678107p5679716.html
Sent from the Jersey mailing list archive at Nabble.com.