I\'m passing a JSON-encoded string to json_decode() and am expecting its output to be an object type, but am getting a string type instead. How can I return an
json_decode()
var_dump(json_decode($json, true));
http://hk.php.net/manual/en/function.json-decode.php