【发布时间】:2016-06-27 21:50:18
【问题描述】:
我想创建这样的 json 数组以使用带有 java servlet 的 jquery 数据表插件
{
"data": [
{
"name": "Tiger Nixon",
"position": "System Architect",
"salary": "$320,800",
"start_date": "2011/04/25",
"office": "Edinburgh",
"extn": "5421"
},
{
"name": "Garrett Winters",
"position": "Accountant",
"salary": "$170,750",
"start_date": "2011/07/25",
"office": "Tokyo",
"extn": "8422"
}
]
}
【问题讨论】: