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.

Methods

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.

Parameters:

obj

The object to write to.

output

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