Data Conversion

Function Description
encodeURI Percent-encodes a text string as a valid Uniform Resource Identifier. Encodes the same special characters as encodeURICompoent with the exception of # $ & + , / : ; = ? @.
decodeURI Converts an URI-encoded string into a decoded string by replacing the hexadecimal escape sequences with their corresponding characters.
encodeURIComponent Percent-encodes a text string as a valid Uniform Resource Identifier. Encodes the same special characters as encodeURI with the addition of # $ & + , / : ; = ? @.
decodeURIComponent Converts an URIComponent-encoded string into a decoded string by replacing the hexadecimal escape sequences with their corresponding characters.
escape Percent-encodes a text string, replacing certain characters by a hexadecimal escape sequence.
unescape Converts an escape-encoded string into a decoded string by replacing the hexadecimal escape sequences with their corresponding characters.
ftos.xml.serialize Serializes an object to a JSON string.
toJson Converts a .NET object to a JSON string. Uses the Newtonsoft Json.NET serializer, which, unlike JSON.stringify, can serialize self-references.
parseInt Converts a string to an integer in the specified base.
parseFloat Converts a string to a floating-point number.
ftos.convert.date.toLocalDateAsString Generates a string representation of a date using the server's local time naming conventions.
ftos.convert.date.toUtcDateAsString Generates a string representation of a date using the UTC formatting conventions.
InvariantDate JSON object that stores a date in a culture-invariant format.