JAXB Annotation Maddness, subclass members do not get outputted.
posted 2 years ago
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.