note 71179 rejected from function.json-decode by didou
| From: | didou@php.net | Date: | Mon, 01 Jan 2007 15:52:11 +0000 |
| Subject: | note 71179 rejected from function.json-decode by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-121171@lists.php.net to get a copy of this message | ||
Note Submitter: jochen dot schaefer at adition dot com
----
There is a catch with "undefined" values when decoding that are perfectly valid in
JavaScript.
Since json_decode obviously doesn't know "undefined" it will return NULL, when the
string to decode contains a "undefined" value.