How do i parse a JSON that is like this?
[{
"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" : ""
} ...
]
I can parse ones that have an object and jsonArrays but this one has neither. How can i iterate through these and be able to store each information like the "id". I'm using the org.json library, or should i use a different one?