Skip to content

查询字符串的序列化和反序列化函数

License

Notifications You must be signed in to change notification settings

jovercao/qsencode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qsencode

查询字符串的序列化和反序列化函数

使用方法

const qsencode = require('qsencode');
qsencode({
    obj: {
        a: 1,
        b: 'str'
    },
    array: [
        1,
        2,
        3
    ]
});

// => obj.a=1&obj.b=str&array[0]=1&array[1]=2&array[2]=3

About

查询字符串的序列化和反序列化函数

Resources

License

Stars

Watchers

Forks

Packages

No packages published