Hello,

I am trying to serialize into XML this:

public class Box<T> {

    private T boxed;
}

with the next specific class type:

public class Person {
    // fields
}

but I get the next xml:

<box>
    <boxed>...</boxed>
</box>

instead of:

<box>
    <person>....</person>
</box>


any ideas? Is there any annotation to pick the type root name instead of 
the field one?

Thanks a lot!

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to