我想迭代并返回一个数组到Jquery自动完成。你能建议我如何将数组中的结果术语Raj和Rajesh返回到自动完成功能。
{
"responseHeader": {
"status": 0,
"QTime": 21
},
"command": "build",
"suggest": {
"mySuggester": {
"R": {
"numFound": 2,
"suggestions": [
{
"term": "Raj",
"weight": 0,
"payload": ""
},
{
"term": "Rajesh",
"weight": 0,
"payload": ""
}
]
}
}
}
}