1つ目
JSON.parse(jsonString)
2つ目
eval("("+jsonString+")")
3つ目
var obj=(function ToJSON(o){ if(typeof(o)=="string")try{return new Function("return "+o)();}catch(e){return null;} })("[{name:'zhangsan',age:'24'},{name:'lisi',age:'30'},{name:'wangwu',age:'16'},{name:'tianqi',age:'7'}]"); for(var b in obj)alert(obj[b].name);