hi, On Fri, May 14, 2010 at 12:54 AM, Davey Shafik <da...@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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php