Lucee Object Methods Reference
Object Method Array.serializeJSON
Converts CFML data into a JSON (JavaScript Object Notation) representation of the data.
Array.serializeJSON([boolean serializeQueryByColumns,[string charset]]):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
serializeQueryByColumns | boolean | No | A Boolean value that specifies how to serialize CFML queries. |
charset | string | No |
string characters that cannot be encoded by this charset get escaped, if not set the web charset is used. |