On the JAXB side, you could annotate your root class with @XmlSeeAlso(), and list there all your child types ...
Moises
Sent from my iPhone
On Dec 15, 2010, at 5:54 AM, Paul Sandoz <Paul.Sandoz_at_oracle.com> wrote:
> How are you generating the JSON?
>
> In the XML equivalent there should be an "xsi:type" attribute that declares the type and gives JAXB enough clues on what to do. That information should also be present in the JSON.
>