js字符串转json?
var str = '{id:"item1",num:1},{id:"item2",num:2},{id:"item3",num:3}';
var arr = eval('([' + str + '])');