利用fastjson將jsonobject對象轉爲map類型

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