Parsing

Methods

  • string.deserializeJSON() Converts a JSON (JavaScript Object Notation) string data representation into CFML data, such as a struct or array.
  • string.parseDateTime() Parses a date/time string according to the English (U.S.) locale conventions.

Functions

  • Canonicalize() Canonicalization is simply the operation of reducing a possibly encoded string down to its simplest form. This is important, because attackers frequently use encoding to change their input in a way that will bypass validation filters, but still be interpreted properly by the target of the attack. Note that data encoded more than once is not something that a normal user would generate and should be regarded as an attack
  • DeserializeJSON() Converts a JSON (JavaScript Object Notation) string data representation into CFML data, such as a struct or array.
  • HtmlParse() parse the given html (not only xhtml) as xml Object, work similar to xmlParse, but this function is very forgiving with the syntax..
  • LSParseCurrency() Converts a locale-specific currency string into a formatted number. Attempts conversion by comparing the string with each the three supported currency formats (none, local, international) and using the first that matches.
  • LSParseDateTime() Converts a string that is a valid date/time representation in the current locale into a date/time object.
  • LSParseEuroCurrency() use function lsParseCurrency instead
  • LSParseNumber() Converts a string that is a valid numeric representation in the current locale into a formatted number.
  • ParseDateTime() Parses a date/time string according to the English (U.S.) locale conventions.
  • ParseNumber() Parses the string argument as a numeric value.
  • Val() Converts numeric characters that occur at the beginning of a string to an number.
  • XmlParse() Converts an XML document that is represented as a string variable into an XML document object.