Konwerter query string <-> JSON

Query string
JSON

O tym narzędziu

Konwertuje query string adresu URL na obiekt JSON i z powrotem. Działa w przeglądarce — nic nie jest wysyłane na nasze serwery.

Repeated keys (a=1&a=2) and array-style keys (a[]=1&a[]=2) become a JSON array. Going the other way, only flat values and arrays of flat values are supported — nested objects aren't (query strings don't have a single standard way to represent them).
Udostępnij to narzędzie Skopiowano link
Advertisement