Information Systems



Decoding json query string PHP

If you want to decode a query string that's encoded with json in PHP, use something like:

$q = json_decode(urldecode($_SERVER['QUERY_STRING']));