JackJson 使用记录
Map<String,Object> map= new HashMap();
map.put("ssss","sadsad");
// 定义JackJson 对象
ObjectMapper mapper = new ObjectMapper();
//将map转换成JSON字符串
String image_json = mapper.writeValueAsString(map);
Map<String,Object> map= new HashMap();
map.put("ssss","sadsad");
// 定义JackJson 对象
ObjectMapper mapper = new ObjectMapper();
//将map转换成JSON字符串
String image_json = mapper.writeValueAsString(map);