function strToJson(str) {
var json = (new Function("return " + str))();
return json;
}

posted on 2014-07-07 23:24  ヽ坚强的蘑菇  阅读(202)  评论(0编辑  收藏  举报