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

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