Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXB Annotation Maddness, subclass members do not get outputted.  RSS feed

 
Warren Bell
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to do this

public List<? extends Foo> getFoos()
{
...
}

and get the json output for members of Foo and any members of subclasses of Foo. What JAXB annotations do I use in Foo and it's subclasses. All I have managed to be able to do is get the members of Foo as json. I have not been able to get any members of Foo's subclasses.

Thanks,

Warren Bell
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!