朋友请帮助我使用 Json 对象和 json 数组概念解析此响应我将所有字段作为字符串显示
{"status": "OK",
"data": {
"passenger": [
{"status": "S2 , 26",
"seat_number": "RAC 53,GNWL"},
{"status": "S2 , 27", "seat_number": "RAC 54,GNWL"}],
"from": {"code": "MAQ",
"name": "MANGALORE",
"time": "14:40"},
"chart_prepared": true,
"alight":
{"code": "LTT",
"name": "LOKMANYA TILAK (T)",
"time": "06:35"},
"pnr_number": "4243907794",
"train_number": "12620",
"to": {"code": "LTT",
"name": "LOKMANYA TILAK (T)",
"time": "06:35"},
"board": {"timestamp": 1344849000,
"code": "MAQ",
"name": "MANGALORE",
"time": "14:40"},
"train_name": "MATSYAGANDA EXP",
"travel_date": {"date": "13-8-2012",
"timestamp": 1344796200},
"class": "SL"
}
}