ZF-6790: Control AMF serialization depth of an object tree

Issue Type: New Feature Created: 2009-05-24T16:09:34.000+0000 Last Updated: 2012-11-20T20:53:32.000+0000 Status: Closed Fix version(s): Reporter: mat lem (maz) Assignee: None Tags: - Zend_Amf

Related issues: Attachments:


In our project we want to control how far the Zend_Amf_Serializer digs in an object tree. Because in some cases we can have a very deep tree dumped in the AMF stream... For instance, something like this would be awesome :

<pre class="highlight"> 
$server = new Zend_Amf_Server();
$server->serializationDepth = 3;
echo ($server->handle());

Besides, rather than just replacing too-deep objects by null, the serializer could replace them by an object indicating that the object has to be loaded (kind of lazy-loading)

I am not sure if there are already patterns for these behaviors (I did not find any on Java's RMI... but I am certainly no expert).



Posted by Rob Allen (rob) on 2012-11-20T20:53:32.000+0000

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.