在实例化XStream后
xstream.processAnnotations(list.class);
<root><lists><list/><list/></lists></root>
class root{
@XStreamImplicit(itemFieldName ="lists")
List<list> lists;
}
在实例化XStream后
xstream.processAnnotations(list.class);
<root><lists><list/><list/></lists></root>
class root{
@XStreamImplicit(itemFieldName ="lists")
List<list> lists;
}
本文标题:XStream 解析xml 错误:com.thoughtwork
本文链接:https://www.haomeiwen.com/subject/ybxnyqtx.html
网友评论