Serializevalue - MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE Reference

Cfml language reference
Table of Contents

Advertisement

Chapter 3: WDDX JavaScript Objects
object
Instance name of the WddxSerializer object.
name
Property to be serialized.
obj
Instance name of the value to be serialized.
Return
Boolean. Returns True if serialization was successful and False if an error occurs.
value
Usage
Internal. You do not typically call this function.
Example
This example is from the WddxSerializer serializeValue function:
...
// Some generic object; treat it as a structure
this.write("<struct>");
for (prop in obj)
{
}
this.write("</struct>");
...

serializeValue

Recursively serializes all eligible data in a passed instance. Data that can be serialized
includes:
String
Number
Boolean
Date
Array
Recordset
Any JavaScript object
This function serialize null values as empty strings.
Syntax
object .serializeValue( obj )
bSuccess = this.serializeVariable(prop, obj[prop]);
if (! bSuccess)
{
break;
}
563

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 4.5

Table of Contents