Standardized way to serialize JSON to query string?

后端 未结 4 1044
不思量自难忘°
不思量自难忘° 2020-11-27 04:16

I\'m trying to build a restful API and I\'m struggling on how to serialize JSON data to a HTTP query string.

There are a numb

4条回答
  •  暖寄归人
    2020-11-27 04:51

    Another option might be node-querystring. It also uses a similar scheme to the ones you've so far listed.

    It's available in both npm and bower, which is why I have been using it.

提交回复
热议问题