Java中關於json的簡單處理

json形式的數據類型不能跳級取,只能一級一級取  例如圖中就不能 JSONObject totalObject =(JSONObject)jsonObject.get("aggregations");  取完aggregations的value值去直接取buckets的值JSONArray jsonArray = (JSONArray) jsonObject1.get("buckets"); 這
相關文章
相關標籤/搜索