版权声明: https://blog.csdn.net/qq_28256783/article/details/82346172
//下面是把拿到的json字符串转成 json对象
JSONObject jsStr = JSONObject.parseObject(string); //将字符串{“id”:1}
//int jsID = Integer.parseInt(jsStr.getString("id"));//获取id的值
/**
* json对象转换成java对象
*/
InvestorApplyModel stud = (InvestorApplyModel) JSONObject.toJavaObject(jsStr,InvestorApplyModel.class);