alibaba.fastjson.JSONObject 解析

1.json字符串轉換爲對象java String jsonString="{'name':'42313123','id':'2345','age':12}"; JSONObject jsonObject = JSONObject.parseObject(jsonString); String id = jsonObject.getString("id"); System.out.println(
相關文章
相關標籤/搜索