This is a craft cms filter which converts query string to Object. You have to call this filter on Query string. Filter can be called as queryToObj.
cd /path/to/project
composer require amici/craft-querystring-to-object
In the Control Panel, go to Settings → Plugins and click the “Install” button for "Query string to Object".
{% set obj = craft.app.request.queryStringWithoutPath | queryToObj %}
{% set obj = craft.app.request.queryString | queryToObj %}