SerializeJSON

Converts CFML data into a JSON (JavaScript Object Notation) representation of the data.

Returns: string

Usage

SerializeJSON( var [, options [, charset ] ] )

Arguments

Argument Description
var
(any, required)

A CFML data value or variable that represents one.

options
(any, optional)

Either a Boolean value that specifies whether to serialize CFML queries by Column, or a string with the value "struct".

charset
(string, optional)

string characters that cannot be encoded by this charset get escaped, if not set the web charset is used.

Examples

There are currently no examples for this function.

See also