Re: New handler for retrieving properties when object is serialized
Hi!
> This is a bit painful to generate and then parse (unserialize) string if
> you do it in C... Especially if you need only add few properties that
> will contain data for serialization. In that case Serailizable is a bit
> overkill...
>
> And for my use case (DateTime serialization) it would be BC as well.
> Different format (Serializable always generate Custom string).
I think given that we already have not one, but two interfaces for
dealing with serialization (__sleep and Serializable), adding a third
one that does essentially the same but with a little difference would be
really too much.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
Thread (22 messages)