我有很难理解一个JSON对象,我如何通过下面的JSON对象循环遍历Java的
[
{"course_slug":"course-4504","course_description":"A principle refers to a fundamental truth. It establishes cause and effect relationship between t...","course_name":"Principles of Management","course_thumb":"http:\/\/i1117.photobucket.com\/albums\/k594\/thetutlage\/principles_of-management.jpg?t=1359623785"},
{"course_slug":"course-4502","course_description":"Management accounting or managerial accounting is concerned with the provisions and use of accoun...","course_name":"Management Accounting","course_thumb":"http:\/\/i1117.photobucket.com\/albums\/k594\/thetutlage\/management_Accounting.jpg?t=1359623495"},
{"course_slug":"course-4503","course_description":"Quantitative Techniques","course_name":"Quantitative Techniques","course_thumb":""}
]
似乎工作 –
@AmanVirk:你需要ArrayList或HaspMap来存储解析结果并在整个应用程序中使用它 –