Recursively serializes eligible data in a passed instance. Eligible data includes:
This function serializes null values as empty strings.
object.serializeValue( obj
)
Parameter |
Description |
---|---|
object |
Instance name of the WddxSerializer object |
obj |
Instance name of the WddxRecordset object to serialize |
Returns a Boolean True if obj was serialized successfully; False, otherwise.
This is an internal function; you do not typically call it.
This example is from the WddxSerializer serialize function:
... 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; } ...