0, 5 votes, vote down vote up. public JSONArray toJson() { JSONArray array = new JSONArray(); for (Slot slot : this) { array. ... put(jsonObject); ...
確定! 回上一頁