如何去掉{ };
var data={"phone":"1234","name":"张三"};var str="phone:"+data.phone+","+"name:"+data.name;
因为你返回的是json字符串,你只要用一个循环取出json里面的值再拼接起来就ok了!