依賴的包: org.json.jar,commons-io-2.2.jar 獲取xml檔案的InputStream is,使用IOUtils把is轉成String。呼叫XML的toJSONObject方法獲取JSON物件。
確定! 回上一頁