【发布时间】:2018-12-30 13:59:41
【问题描述】:
我有这个 JSON 数据。我想用 CoffeeScript 解析它。 如何获取 answer 的值?
{"options": [{"answer": "Description for xss injection is", "answer_options": 0, "answer_lang": null}]}
我试过这个方法但是失败了:
for key,value of data
for k,v in value
res.send "#{v}"
【问题讨论】:
标签: json parsing coffeescript