You can use the below code snippet which will help you achieve what you want: JSONArray a = (JSONArray) parser.parse(new FileReader("c:\\exer4-courses.json"));.
確定! 回上一頁