public class ResposneMessage {
private int status;
private String code = "";
private String message = "";
private Object data;
}
的 “DictType” 不封:JAXB -EclipseLink莫西对象类型没有得到正确整理
{
"code": "",
"data": "[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]",
"message": "",
"status": 200
}
默认是不封送Object
类型。
这是重复的 - 请参阅这里 - http://stackoverflow.com/questions/818327/jaxb-how-should-i-marshal-complex-nested-data-structures – kinshuk4
@ kinshuk4除非那根本不是重复的但是完全不同的问题。 – PureSpider