User Guide

Chapter 3: WDDX JavaScript Objects 569
WddxSerializer instance.
Return
value
Boolean. Returns True if serialization was successful and False if an error occurs.
Usage Internal. You do not typically call this function.
Example This example is from the WddxSerializer serializeValue function:
...
else if (typeof(obj) == "object")
{
if (obj == null)
{
// Null values become empty strings
this.write("<string></string>");
}
else if (typeof(obj.wddxSerialize) == "function")
{
// Object knows how to serialize itself
bSuccess = obj.wddxSerialize(this);
}
...