users@jersey.java.net

[Jersey] Re: how to rename XmlRootElement in JSON

From: Maxrunner <joao.rossa_at_gmail.com>
Date: Fri, 27 May 2011 08:00:45 -0700 (PDT)

Been trying to use this:

 @JsonSerialize(using=MySerializer.class,
    as=MySubClass.class,
    include=JsonSerialize.Inclusion.NON_NULL,
    typing=JsonSerialize.Typing.STATIC
  )

but im not following where to put my OrganicaMobileEntity class...

regards,

--
View this message in context: http://jersey.576304.n2.nabble.com/how-to-rename-XmlRootElement-in-JSON-tp6173292p6411378.html
Sent from the Jersey mailing list archive at Nabble.com.