JSON.stringify(obj)将JS对象转为字符串。var json = { aa: ['sdddssd'], bb: [ '892394829342394792399', '23894723984729374932874' ], cc: ['11111111111111'] }=> var string = JSON.stringify(json)string:{"aa":["sdddssd"],"bb":["892394829342394792399","23894723984729374932874"],"cc":["11111111111111"]}JSON.parse(string)将字符串转为JS对象