I have a entity like this:
public class MyEntity {
public Map map1;
public Map map2;
}
Using XStreams, I want to use the default map converter for map1 and my own map converter for map2. How can I do this?
在现场添加注释@XStreamConverter(MyOwnConverter.class)
如图所示这里 。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.