JavaScript中将String转换为对象
?var obj="{region:'center',split:true,border:true,id:'main'}";??? obj=eval("("+obj+")");//将字符转换为对象