(1) String str = "12,13,14,15,16"转list
List<String> list = Arrays.asList((String.valueOf(map.get("str"))).split(","));
结果:list = [12,13,14,15,16]
(2)String str = "[12,13,14,15,16]"转list
List<String> list = JSONArray.parseArray(String.valueOf((String.valueOf(map.get("str"))).split(",")), String.class);
结果:list = [12,13,14,15,16]