我想要做:
(Object)Date:
(Object)HomeTeam:
(Array)Name
(Array)Num
(Object)AwayTeam:
(Array)Name
(Array)Num
(Object)Date:
(Object)HomeTeam:
(Array)Name
(Array)Num
(Object)AwayTeam:
(Array)Name
(Array)Num
(Object)Date:
(Object)HomeTeam:
(Array)Name
(Array)Num
(Object)AwayTeam:
(Array)Name
(Array)Num
到目前为止,我试图:
JSONObject json = new JSONObject();
JSONObject home = new JSONObject();
JSONObject away = new JSONObject();
json.put("Date", xxx); I dun know how to do
json.put("HomeTeam", home);
json.put("AwayTeam", away);
并且有很多日期对象,请帮助..