This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Web Services and the fly likes JAXB Annotation Maddness, subclass members do not get outputted. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAXB Annotation Maddness, subclass members do not get outputted." Watch "JAXB Annotation Maddness, subclass members do not get outputted." New topic
Author

JAXB Annotation Maddness, subclass members do not get outputted.

Warren Bell
Ranch Hand

Joined: Dec 20, 2000
Posts: 56
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
 
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
 
subject: JAXB Annotation Maddness, subclass members do not get outputted.