(轉)FastJson 解決JSON轉嵌套Map出現的順序亂序問題

弄了一天的問題,感謝大神前端 轉自:http://inlhx.iteye.com/blog/2312512android   最近項目中用到了fastjson(1.2.15)須要將前端多層嵌套json轉換爲map,因爲map的無序性,想了不少辦法,最終找到使用 Map m= JSONArray.parseObject(json, LinkedHashMap<String,String>.class
相關文章
相關標籤/搜索