请问这样的JSON该如何解析呢,key值不带双引号,特别着急
发布于 6 年前 作者 chaolong 16813 次浏览 来自 问答

var jsonData = { serverSeconds : 1524641676, last_time : 1524641552, path : [{title : “全部”, id : “89”, cType : “col”}], count : 15209, offset_page : 0, offset_num : 0, list : [ {channel : {title : “国内”,id : “90”,cType : “col”,url : “”},title : “李明哲妻子又“告洋状”:他是外国人不是中国人”,url : “http://news.sina.com.cn/c/2018-04-25/doc-ifzqvvsc1885472.shtml”,type : ‘1’,pic : ‘’,time : 1524641552}, {channel : {title : “财经”,id : “97”,cType : “col”,url : “”},title : “邦达亚洲:美指回落市场风险情绪降温 黄金止跌回升”,url : “http://finance.sina.com.cn/money/forex/forexfxyc/2018-04-25/doc-ifzqvvsc1819146.shtml”,type : ‘1’,pic : ‘’,time : 1524640946}] };

2 回复

哈?

这是js的对象哦

楼主你带双引号怎么解析的啊

回到顶部