【发布时间】:2010-11-22 05:42:22
【问题描述】:
我有问题。 I have this JSON 由 Open Flash Chart php 库自动生成。问题是,OFC 报告 JSON Parse Error [Syntax Error] 而使用 http://www.jsonlint.com/ 的测试结果报告我的 JSON 很好。但是,w3c parser 也报错了:(
有什么帮助吗?
这是 JSON:
{
"title": "Followers Trend",
"elements": [
{
"type": "area_hollow",
"fill-alpha": 0.35,
"values": [
],
"colour": "#5B56B6",
"text": "Followers",
"font-size": 12
}
],
"x_axis": {
"colour": "#A2ACBA",
"grid-colour": "#D7E4A3",
"offset": false,
"steps": 4,
"labels": {
"steps": 2,
"rotate": "vertical",
"colour": "#A2ACBA",
"labels": [
]
}
},
"x_legend": {
"text": "Week Trend (2009-08-17 - 2009-08-24)",
"style": "{font-size: 20px; color: #778877}"
},
"y_axis": {
"min": 0,
"max": 150,
"steps": 30
}
}
【问题讨论】:
-
它在
I have this JSON链接后面。反正我这里再写一遍。
标签: json parsing open-flash-chart