Re: json_encode()
| From: | Pierre Joye | Date: | Tue, 16 Dec 2008 15:21:07 +0000 |
| Subject: | Re: json_encode() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42293@lists.php.net to get a copy of this message | ||
On Mon, Dec 15, 2008 at 6:50 PM, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
> Ok, so as promised I ran some of the options we have that came up last
> week by Douglas Crockford.
>
> 1. Document the fact that if you want to strictly conform to the JSON
> spec and be sure your json_encode output will work in various JSON
> parsers, you have to pass it a PHP array or object.
+1
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org