Java 8 – JAXB: Unmarshalling generics and element with same name
I’m querying several endpoints of an API that returns XML data.
The XML returned by the various endpoints are very similar to each other, with the exception of the name of one element (simplified examples below).