API 问题:/api/nodes/all.json 最后一个元素后多了一个逗号

2011-04-17 12:41:18 +08:00
 obiwong
http://www.v2ex.com/api/nodes/all.json

...
{
"id" : 373,
"name" : "blog",
"url" : "http://www.v2ex.com/go/blog",
...
"created" : "2011-04-16 05:50:20.941311"
},

]
4779 次点击
所在节点    V2EX
6 条回复
Livid
2011-04-17 14:09:32 +08:00
一会到家就修正。
obiwong
2011-04-17 16:09:30 +08:00
ok. 我晚上再试试
Livid
2011-04-17 20:28:38 +08:00
Fixed.
obiwong
2011-04-17 21:27:24 +08:00
@Livid 确定?

$ curl http://www.v2ex.com/api/nodes/all.json | tail
"header" : null,
"footer" : "这是一个特殊的节点。这个节点里的内容不会影响首页的时间轴。",
"created" : "2011-04-16 05:50:20.941311"
},
]

最后还是有一个逗号。
Livid
2011-04-17 21:29:26 +08:00
@obiwong 现在确定好了。刚才将缓存清除了。
obiwong
2011-04-17 21:37:01 +08:00
试了一把,解决了。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/11638

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX