json字符串转java对象实体类

DpRccEntity rccData = JSON.parseObject(JSONObject.toJSONString("JSONString",DpRccEntity.class);

导入的包为:import com.alibaba.fastjson.JSON;

猜你喜欢

转载自www.cnblogs.com/huyanlon/p/10907726.html
今日推荐