|
DescriptionConverts
a JavaScript expression to a JSON-encoded string.
Function syntaxColdFusion.JSON.encode(expression)
HistoryColdFusion
8: Added this function
Parameters
Parameter
|
Description
|
name
|
An expression with the data to encode.
|
ReturnsA
String containing the data in JSON encoded format.
UsageUse
this function when you must explicitly convert between JavaScript
and JSON format, for example, when you must call a remote function
that is not in a CFC.
|
|
|