How to alias object through xstream?
I've got an object which contains list of strings. How is it possible to define that the String.cl开发者_运维技巧ass should be serialized with alias "somealias" instead of "string" through annotations?
@XStreamImplicit(itemFieldName="somealias")
private List<String> content;
精彩评论