Adobe ColdFusion 8

WddxSerializer object

The WddxSerializer object includes functions that serialize any JavaScript data structure. For more information on using this object, see "Using WDDX" in the ColdFusion Developer's Guide.

Functions

The only function that developers typically call is serialize.

Function syntax

Description

object.serialize(rootobj)

Creates a WDDX packet for a passed WddxRecordset instance.

object.serializeVariable(name, obj)

Serializes a property of a structure. If an object is not a string, number, array, Boolean, or a date, WddxSerializer treats it as a structure.

object.serializeValue(obj)

Recursively serializes eligible data in a passed instance.

object.write(str)

Appends data to the serialized data stream.