I am trying to make a program that reads through this JSON text:
{
"Suburban Station Departures: September 1, 2017, 10:18 pm": [
{
"Northbound": [
{
"direction": "N",
"path": "R7N",
"train_id": "776",
"origin": "Trenton",
"destination": "Chestnut H East",
"status": "4 min",
"service_type": "LOCAL",
"next_station": "30th Street Station",
"sched_time": "Sep 1 2017 10:26:00:000PM",
"depart_time": "Sep 1 2017 10:27:00:000PM",
"track": "2",
"track_change": null,
"platform": "B",
"platform_change": null
},
The program will retrieve the output from the site, and grabs the last updated portion of text. I've managed to retrieve the site's input, but I'm not sure how I would get the info within the two arrays. I have tried looking at other questions but they are dealing with no arrays/lists at all and just parsing data without lists/arrays.