new JSONObject(hashmap) 將Hashmap 轉換為JSON 物件; Jackson 庫將Hashmap ... map.put("key2", "value2"); JSONObject json = new JSONObject(map); ...
確定! 回上一頁