利用fastjson将jsonobject对象转为map类型

JSONObject object = JSON.parseObject("{\"d\":\"x\",\"a\":\"f\"}");         TreeMap<String ,Object> billMap = JSONObject.parseObject(object.toJSONString(), new TypeReference<TreeMap<String, Object>>(){
相关文章
相关标签/搜索