Decode a URL-encoded query string into a query object. A query string is everything after the ? in a URL. Certain special characters, like space, :, ?, /, etc., need to be encoded because they have special meaning in the URL itself. For more details see this Wikipedia article.

For example, in this URL: https://www.example.com/searchcustomers?name=John%20Doe&region=North%20America the query string is the part starting with “name”, and this function would convert it to this object:

{
  "name": "John Doe",
  "region": "North America"
}

Once in this object form, it is much easier to extract particular query parameters using Get or Get Multiple.

This function is the inverse of Encode Query.  

Input Fields

  • query (text): the query string

Output Fields

  • output (object): the query object