var par ="陈子昂&";
var obj ={name:par ,course:["see","node"],from:'s1'};
var test = querystring.stringify(obj,"|");
console.log("序列化 "+test);
var test = querystring.parse(test);
console.log("反序列化 ",test);
console.log("转义",querystring.escape(par));
console.log ("反转义",querystring.unescape(test));
var obj ={name:par ,course:["see","node"],from:'s1'};
var test = querystring.stringify(obj,"|");
console.log("序列化 "+test);
var test = querystring.parse(test);
console.log("反序列化 ",test);
console.log("转义",querystring.escape(par));
console.log ("反转义",querystring.unescape(test));
2017-08-02