Re: Re: svn: /php/php-src/trunk/ NEWS ext/json/json.c ext/json/php_json.h ext/json/tests/serialize.phpt
| From: | Pierre Joye | Date: | Thu, 13 May 2010 23:24:53 +0000 |
| Subject: | Re: Re: svn: /php/php-src/trunk/ NEWS ext/json/json.c ext/json/php_json.h ext/json/tests/serialize.phpt | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48286@lists.php.net to get a copy of this message | ||
hi,
On Fri, May 14, 2010 at 12:54 AM, Davey Shafik <davey@php.net> wrote:
> The point is that json_encode will automatically call and use the return of jsonSerialize()
> no matter WHERE you serialize the object.
RIght, however Json is also not about serialize (as in php's
serialize), the naming could create confusions.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org