看WIKI,主要是你想怎么显示,还要对ACTION进行适当的处理 ,把问题说清楚才能帮上忙
//json对象 javascript object native(javascript本地原生对象)
var json1 = {id:1,name:"张三",sex:"男"};
//json数组
var arry = [
{id:1,name:"张三",sex:"男"},
{id:2,name:"李四",sex:"女"},
{id:3,name:"王五",sex:"男"}
];
var json2 = "{id:4,name:'赵六',sex:'男'}";
//把字符串转json
var json3 = eval("("+json2+")");
alert(json3.name);
for (var i =0;i
}