This interface is used with the IDynamicPropertyOutput interface to control the serialization of dynamic properties of dynamic objects. To use this interface, assign an object that implements the IDynamicPropertyWriter interface to the ObjectEncoding.dynamicPropertyWriter property.


writeDynamicProperties(obj:Dynamic, output:IDynamicPropertyOutput):Void

Writes the name and value of an IDynamicPropertyOutput object to an object with dynamic properties. If ObjectEncoding.dynamicPropertyWriter is set, this method is invoked for each object with dynamic properties.



The object to write to.


The IDynamicPropertyOutput object that contains the name and value to dynamically write to the object.