JSON字符串轉成map解析

  json字符串格式:{"山東":13,"臺灣":32,"福建":16,"河北":5,"河南":7,"重慶":4,"湖北":17,"湖南":18,"江西":21,"海南":23} 要轉成list<Map> 格式 import net.sf.json.JSONArray; import net.sf.json.JSONObject;   String provinceString = "[" +p
相關文章
相關標籤/搜索