我尝试按照此处所述访问用户的输入:http://www.ibm.com/watson/developercloud/doc/conversation/advanced_overview.shtml基于汽车仪表板对话框。
var arr = new Object;
var jsonObj = {"123":"234"};
arr['v'] = "234";
arr[0] = jsonObj;
arr[1] = jsonObj;
console.log(JSON.stringify(arr));
错误:
{
"output": {
"text": "Great choice! Playing some @genre music for you. <?input text?>"
}
}