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