The first one
JSON.parse(jsonString)
The second one
eval("("+jsonString+")")
The third one
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);