The querystring
module provides utilities for parsing and formatting URL query strings.
See also:
Static methods
staticdecode(str:String, ?sep:String, ?eq:String, ?options:Null<QuerystringParseOptions>):QuerystringParseResult
staticdecode(str:String):QuerystringParseResult
The querystring.decode()
function is an alias for querystring.parse()
.
See also:
staticencode(obj:{}, ?sep:String, ?eq:String, ?options:Null<QuerystringStringifyOptions>):String
staticencode(obj:{}):String
The querystring.encode()
function is an alias for querystring.stringify()
.
See also:
staticdynamicescape(str:String):String
The querystring.escape()
method performs URL percent-encoding on the given str
in a manner that is optimized for the specific requirements of URL query strings.
See also:
staticparse(str:String, ?sep:String, ?eq:String, ?options:Null<QuerystringParseOptions>):QuerystringParseResult
staticparse(str:String):QuerystringParseResult
The querystring.parse()
method parses a URL query string (str
) into a collection of key and value pairs.
See also:
staticstringify(obj:{}, ?sep:String, ?eq:String, ?options:Null<QuerystringStringifyOptions>):String
staticstringify(obj:{}):String
The querystring.stringify()
method produces a URL query string from a given obj
by iterating through the object's "own properties".
See also: