js json转字符串和字符串转json 字符串转json: var d = eval("(" + data + ")");//data为字符串 json转字符串: JSON.stringify(str);//str为json 谢谢谢!!!!!!!!!!!!!!!!!!!!!!