ColdFusion 9.0 Resources |
ColdFusion.JSON.encodeDescriptionConverts a JavaScript expression to a JSON-encoded string. Function syntaxColdFusion.JSON.encode(expression) See alsoColdFusion.JSON.decode, DeserializeJSON, SerializeJSON, Using Ajax Data and Development Features in the Developing ColdFusion Applications, http://www.json.org HistoryColdFusion 8: Added this function Parameters
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. ExampleSee the example in ColdFusion.JSON.decode. |