我如何解析这样的 JSON?
[{
"id" : 28010942,
"type" : "trafficlight",
"title" : "225 - Shaw Blvd. / Gomezville - Flashing",
"activeFrom" : "Apr 30, 2013 6:18:00 PM",
"publiclyVisible" : true,
"locationLat" : 14.589366803498653,
"locationLon" : 121.03713870048522,
"publicDescription" : ""
}, {
"id" : 28010939,
"type" : "trafficlight",
"title" : "301 - Andalucia (A. Mendoza) / P. Campa - No Display",
"activeFrom" : "Apr 30, 2013 6:00:00 PM",
"publiclyVisible" : true,
"locationLat" : 14.608034456366056,
"locationLon" : 120.98599433898926,
"publicDescription" : ""
} ...
]
我可以解析具有对象和 jsonArrays 的对象,但这个对象都没有。我如何遍历这些并能够存储每个信息,如“id”。我正在使用 org.json 库,还是应该使用其他库?