Deserializes a string in XML format to a ColdFusion object.
Object
deserializeXML(string, [useCustomSerializer] )
ColdFusion (2018 release): Introduced named parameters.
ColdFusion 11: Added this function.
Parameter |
Description |
|---|---|
string |
Required. A string that needs to be deserialized. |
| useCustomSerializer | Boolean. Whether to use the custom serializer or not. The default value is true. The custom serializer will be always used for XML deserialization. If false, the XML/JSON deserialization will be done using the default ColdFusion behavior. If any other type is passed with useCustomSerializer as false, then TypeNotSupportedException will be thrown. |
For more information see REST Enhancements in ColdFusion 11.
Sign in to your account