The syntax for json_decode is:
mixed json_decode ( string $json [, bool $assoc = false [, int $depth = 512 [, int $options = 0 ]]] )
Note the 2nd parameter $assoc which is optional and defaults to false.
When this parameter is true, json_decode converts objects to associative arrays.
My question is: Is there every a case where you would NOT want to convert a returned object into an associative array?