标签:object class user bsp 字符串 json str 后端 parse
前端:
"/xx?user="+JSON.stringify(rows) es5
后端
@RequestParam String user
user = new String(user.getBytes("8859_1"),"utf8"); // 防止中文乱码
List<Map<String,Object>> list = (List<Map<String,Object>>) JSON.parse(user); //字符串转List<Map>
标签:object class user bsp 字符串 json str 后端 parse
原文地址:https://www.cnblogs.com/YinXuanZhiZhi9/p/14666492.html