我试图从数据库反序列化一个数组,但没有成功。 这是我把我的对象的方式: for (int i = 0; i < dealsList.size(); i++) {
ServerServicesInternalWrapper.reportDeal(Json.toWrap(dealsList.get(i)));
}
其中 public static <T> String toWrap(T
我试图反序列化JSON对象这样的JSON: public class Example {
private String a;
private int b;
private SubDataExample c;
//more fields, constructor, getters, etc
}
public class SubDataExample{
private String d