•
Recordset
•
Any JavaScript object
This function serializes null values as empty strings.
Syntax
object.serializeValue( obj )
Parameters
Parameter
object
obj
Return value
Returns a Boolean True if obj was serialized successfully; or False if an error occurs.
Usage
This is an internal function; you do not typically call it.
Example
This example is from the WddxSerializer
...
this.wddxPacket = "";
this.write("<wddxPacket version='1.0'><header/><data>");
bSuccess = this.serializeValue(rootObj);
this.write("</data></wddxPacket>");
if (bSuccess)
{
return this.wddxPacket;
}
else
{
return null;
}
...
write
Description
Appends data to a serialized data stream.
Syntax
object.write( str )
Parameters
Parameter
object
str
Return value
Returns an updated serialized data stream as a String.
Description
Instance name of the WddxSerializer object
Instance name of the WddxRecordset object to serialize
Description
Instance name of the WddxSerializer object
String to be copied to the serialized data stream
function:
serialize
WddxSerializer object
791