note 84933 deleted from function.json-decode by googleguy
| From: | googleguy@php.net | Date: | Fri, 30 Nov 2012 05:54:22 +0000 |
| Subject: | note 84933 deleted from function.json-decode by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192231@lists.php.net to get a copy of this message | ||
Note Submitter: bizarr3_2006 at yahoo dot com
----
If json_decode() failes, returns null, or returns 1, you should check the data you are sending to
decode...
Check this online JSON validator... It sure helped me a lot.
http://www.jsonlint.com/