Bootstrap

将json字符串转换成数组

概述:

总是忘这个怎么写,记录下,方便下次查看

jsonstr就是json字符串

var jsonarray = eval('('+jsonstr+')');

;