Don’t forget you can also pass True to the second parameter of json_decode to get back an associative array instead of an object..