Util

Parse Query String

Returns parsed object where the first argument equals a given string.

Expression:

QUERYSTRING_PARSE(queryString: string)

Return:

parsedObject: object

Example of usage:

QUERYSTRING_PARSE("key1=value1")

Return value:
{"key1":"value1"}

Serialize Query String

Returns the first argument as a serialized query string.

Expression:

QUERYSTRING_SERIALIZE(query: object, skipNulls?: boolean)

Return:

queryString: string

Example of usage:

QUERYSTRING_SERIALIZE({key1: "apples pears", key2: null}, true)

Return value:
"key1=apples%20pears"

Last updated