得到一个json格式的字符串
String bean = file.get("bean").toString();
转换
Map<String, Object> map2 = (Map<String, Object>) JSONObject.parseObject(bean,
new TypeReference<Map<String, Object>>() {
});
得到一个json格式的字符串
String bean = file.get("bean").toString();
转换
Map<String, Object> map2 = (Map<String, Object>) JSONObject.parseObject(bean,
new TypeReference<Map<String, Object>>() {
});