Edit report at http://bugs.php.net/bug.php?id=45690&edit=1

 ID:                 45690
 Updated by:         [email protected]
 Reported by:        j dot stutterheim at hccnet dot nl
 Summary:            json_encode to support Serializable and __sleep
-Status:             Open
+Status:             Closed
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            *General Issues
 Operating System:   OS X 10.5.4
 PHP Version:        5.2.6
-Assigned To:        
+Assigned To:        johannes
 Block user comment: N
 Private report:     N

 New Comment:

Trunk has support for this via the JsonSerializable interface.


Previous Comments:
------------------------------------------------------------------------
[2008-08-02 17:35:21] j dot stutterheim at hccnet dot nl

Description:
------------
In order to easily serialize objects, without resorting to public 

attributes, it would be nice if json_encode() would support Serializable


and __sleep. It currently does not take these into account.



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=45690&edit=1

Reply via email to