📜  fromjson 方法将整数转换为双精度 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:53.034000             🧑  作者: Mango

代码示例1
class Response {
  int id;
  int field_id;
  ArrayList> body; // or whatever type is most apropriate
}

responses = new Gson()
            .fromJson(draft, new TypeToken>(){}.getType());