private static Map<String, String> strToMap(String str){
Map<String, String> map =JSONObject.parseObject(str,Map.class);
return map;
}
private static String mapToStr(Map<String, String> map){
String str = JSONObject.toJSONString(map);
return str;
}
转载请注明原文地址:https://blackberry.8miu.com/read-1902.html