ColdFusion 9.0 Resources ColdFusion 9 CFML Reference |
IsJSONDescriptionEvaluates whether a string is in valid JSON (JavaScript Object Notation) data interchange format. ReturnsTrue if the parameter is a valid JSON value. False if the parameter is not a valid JSON data representation. See alsoDeserializeJSON, SerializeJSON, cfajaxproxy, Using Ajax Data and Development Features in the Developing ColdFusion Applications, http://www.json.org ExampleThis example checks whether the data feed that is generated by the example for the SerializeJSON function contains valid JSON data. The feed is in the form of a JavaScript function call where the parameter is a JSON string that contains the feed data. The example does the following operations:
|