Notes
- The leading
?and any URL prefix (https://example.com/path?) are stripped automatically. - URL-encoded values are decoded (e.g.
%20→ space,%26→&). - Repeated keys without brackets become arrays:
tag=a&tag=b→{"tag":["a","b"]}. - Bracket notation:
user[email]=…creates nested objects;user[]=…appends to an array.
FAQ
What happens with empty values?
foo= → "foo": "". foo with no equals sign → "foo": null.