我想开发从广播时间 api 读取一些数据的网站。
它生成如下内容:
({"env":"production","schedulerTime":"2012-07-11 14:44:34","previous":{"name":"作者:Jalale Ale Ahmad - Modire Madrese [www.audiolib .ir]","starts":"2012-07-11 09:30:48.228571","ends":"2012-07-11 10:01:00.087571","type":"track"},"current ":{"name":"作者:Jalale Ale Ahmad - Modire Madrese [www.audiolib.ir]","starts":"2012-07-11 10:01:00.087571","ends":"2012- 07-11 10:31:11.217571","media_item_played":true,"record":0,"type":"track"},"next":{"name":"作者:Jalale Ale Ahmad - Modire Madrese [www.audiolib.ir]","开始":"2012-07-11 10:31:11.217571","结束":"2012-07-11 11:01:17.567071","type":"track"},"currentShow":[{"start_timestamp":"2012-07-11 13:58:00","end_timestamp ":"2012-07-11 16:00:00","name":"Untitled Show","id":36,"instance_id":36,"record":0,"url":"","开始":"2012-07-11 13:58:00","结束":"2012-07-11 16:00:00"}],"nextShow":[],"timezone":"IRDT", "timezoneOffset":"16200","AIRTIME_API_VERSION":"1.0"})"name":"Untitled Show","id":36,"instance_id":36,"record":0,"url":"","starts":"2012-07-11 13:58:00" ,"ends":"2012-07-11 16:00:00"}],"nextShow":[],"timezone":"IRDT","timezoneOffset":"16200","AIRTIME_API_VERSION":"1.0" })"name":"Untitled Show","id":36,"instance_id":36,"record":0,"url":"","starts":"2012-07-11 13:58:00" ,"ends":"2012-07-11 16:00:00"}],"nextShow":[],"timezone":"IRDT","timezoneOffset":"16200","AIRTIME_API_VERSION":"1.0" })
它不是 JSON,那是什么?以及我应该如何将其转换为 php 或 javascript 数组?