map转Object

ModelMessage 为实体类,haveMobilePhone为map

ModelMessage modelMessage = JSONObject.parseObject(JSONObject.toJSONString(haveMobilePhone), ModelMessage.class);

posted @ 2020-05-06 14:59  Curedfisher  阅读(180)  评论(0编辑  收藏  举报