PHP: json_decode - Manual - PHP: Hypertext Preprocessor
Noted in a comment below is that this function will return NULL when given a simple string. This is new behavior - see the result in PHP 5.2.4 : php > var_dump(json_decode('this is a simple string')); string(23) "this is a simple string" in PHP 5.3.2 : ph...