users@jersey.java.net

Re: [Jersey] Jaxb/Json and XmlElementRef

From: Johannes Schneider <mailings_at_cedarsoft.com>
Date: Wed, 08 Sep 2010 17:59:08 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/02/2010 06:44 PM, Tatu Saloranta wrote:
> And as usual, the other way is to go "pure Jackson", by registering
> JacksonJaxrsProvider.
> That would make JSON look much more natural. Configuration for this is
> global, affecting only json handling; xml can be produced and consumed
> using JAXB.

Thanks a lot.
That has solved everything. I just registered
JacksonJaxbJsonProvider.class and now JSON seems to work nicely...

So maybe jersey-json should/could be switched to Jackson?


Thanks,

Johannes Schneider

>
> -+ Tatu +-
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>

- --
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMh7LJAAoJEAytD9R7Qv6dM5kH/3XYTxTh8XmPoKiX7LJaWM19
RTuzcaIR0h71xM5gOdBhTVHCUKlRAQoTvP/yZMogEoMf/clWY+snSv2GTyL/CZAx
S0TzDuVcQky5zrsnhcd8RhrzoP0NzcmpiNNfuL5ay729dRhDTa549cLm7Mo2GK5H
VOOIunlQRY1eSwWzcM6DNO8lW6bBqcrDNUEQ1wrWmUfrNu6onerC5IbJmTKuK91Q
c8uQY6JV0Ppwb5mEesszU3P2+SHZUnzS6Q1eJpjHUO7qDtuFdXrakyLu/2N1QDp2
thVolYCa6d0O8VEVT4RUyoKEp6ezqTWxoFVD21iDUOfV0EbryxwACZdDb8K0boc=
=IW8y
-----END PGP SIGNATURE-----