users@jersey.java.net

[Jersey] Re: jackson json mapping issue

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Thu, 28 Jun 2012 11:02:49 -0700

On Thu, Jun 28, 2012 at 10:16 AM, suchitha koneru
<suchi.koneru_at_gmail.com> wrote:
> Thanks Tatu for the response.  I have inner classes  , can this be a issue
> for derserialization as stated in the
> JIRA http://jira.codehaus.org/browse/JACKSON-594.
>
> The class Retailer and its Data member  RetailerCountries  both have a
> static inner class of same name" Supported Currencies" but  with different
> definitions.
>
> can this be a problem ?

I don't think so, since your inner classes are static as expected.
[JACKSON-594] was implemented for 1.9 as well; and if it was causing
the failure you would see different exception.

If you can write a stand-alone test (outside of Jersey), I might be
able to help figuring out what exacty is happening.

-+ Tatu +-