Resolution: Won't Fix
Affects Version/s: 1.3.1
Fix Version/s: None
I am using xstream 1.3.1 with Jettison 1.1 to generate json. I have a generic list with a structure like such
XStream xstream = new XStream(new JettisonMappedXmlDriver());
It will generate something like below
I switch to their internal JsonHierarchicalStreamDriver and the "xxx.xxx.A" level goes away
I am not sure whether it is the problem of xstream or jettison. But I am not familiar with Jettison enough to test it. Hopefully this is useful information for someone.