若是使用不對的型別也會拋出JSONException: System.out.println(object2.getString("age")); //這裡的值18可以轉成字串 ...
確定! 回上一頁