students%5B0%5D表示:students[0]
%5B为左中括号[
%5D为右中括号]
这样就明白了
1var qs = require('qs'); 2var obj = { 3 name:'Tom', 4 description:'hello', 5 hobbies:['basketball','swimming'] 6}; 7//stringify查询字符串 8var str = qs.stringify(obj); 9console.log(str); 10//运行结果:name=Tom&descript=hello&hobbies%5B0%5D=basketball&hobbies%5B1%5D=swimming