從json數組中得到相應java數組,如果要獲取java數組中的元素,只需要遍歷該數組。 /** * 從json數組中得到相應java數組 * JSONArray下的toArray()方法的使用 * @