Custom JSON De-serializer for PHP

My previous post [https://kemper.buzz/custom-json-serializer-for-php/] dealt with taking an object graph and turning it into JSON. If you are building a RESTful web service using PHP and you don’t have the option of using frameworks like Jersey for Java or just prefer doing things in PHP then…

Custom JSON Serializer for PHP

The project I am working on currently requires serializing PHP objects into natural JSON. After a while it gets a bit old having to transform those objects into key-value pair arrays to then transform them into JSON using json_encode [http://uk.php.net/json_encode]. An alternative would be…