Railo 4.1 Reference
Choose a function:

Function SERIALIZEJSON

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

Example

serializejson(any var,[boolean serializeQueryByColumns]):string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
var any  Yes A CFML data value or variable that represents one.  
serializeQueryByColumns boolean  No A Boolean value that specifies how to serialize CFML queries.