I'm trying to output a small object graph to JSON with XStream. Only output, no de-serializing required.
The objects are very simple:
@XStreamAlias("players")
public class Players {
@XStreamImplicit
private List players = new ArrayList();
public Players() {
for (int i = 0; i
以上就是XStream: Omit collection with XStreamImplicit的详细内容,更多请关注web前端其它相关文章!