 <p>Usually this means you have a character that is illegal. For instance using øæå will cause json_decode to return null.</p> <pre><code>Returns the value encoded in json in appropriate PHP type. Values true, false and null (case-insensitive) are returned as TRUE, FALSE and NULL respectively. NULL is returned if the json cannot be decoded or if the encoded data is deeper than the recursion limit. </code></pre> <p><a href="http://dk1.php.net/json_decode" rel="nofollow">http://dk1.php.net/json_decode</a></p>