对象转字符串

JSON.stringify(object).toString();

字符串转对象

JSON.parse(string)