Map<String, Object> sendDateMap // map转json对象 String sendDateStr = JSON.toJSONString(sendDateMap);(jsOn格式的) Map<String, Object> resultMap = new HashMap<String,Object>(); // 定义返回结果 String resultStr = ""; //string转map resultMap = JsonUtils.parseJson2Map(resultStr);(jsOn格式的)
string与json ,map与json的转换
猜你喜欢
转载自www.cnblogs.com/xiaowoniulx/p/9948581.html
今日推荐
周排行