Hi guys,

I'd like to thank you for this implementation.

@Pierre: There is a RFC I wrote: http://wiki.php.net/rfc/jsonable

I'd suggest to rather be JSONSerializable or be Jsonable.

JSON is an acronym, the same as PDO. We don't have interface for Pdo,
but for PDO.
So we should keep consistency.


Cheers,


On Thu, May 6, 2010 at 8:37 AM, Pierre Joye <pierre....@gmail.com> wrote:
> On Thu, May 6, 2010 at 12:59 PM, Hannes Magnusson
> <hannes.magnus...@gmail.com> wrote:
>> On Thu, May 6, 2010 at 00:48, Sara Golemon <poll...@php.net> wrote:
>>> pollita                                  Wed, 05 May 2010 22:48:14 +0000
>>>
>>> Revision: http://svn.php.net/viewvc?view=revision&revision=299037
>>>
>>> Log:
>>> Add JSON_Serializable interface
>>
>> Slight bikeshedding.. but we don't use underscore for interface/classnames...
>
> And I would go with JsonSerializable.
>
> However, where does it come from? Does it have to be an interface or
> why not using __toJson? I must have lived under a rock as I don't see
> any proposal either, be RFC or internals.
>
> 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
>
>



-- 
Guilherme Blanco - Web Developer
CBC - Certified Bindows Consultant
Cell Phone: +55 (16) 9215-8480
MSN: guilhermebla...@hotmail.com
URL: http://blog.bisna.com
São Paulo - SP/Brazil

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to