2021-12-08 06:44:44 +10:00

19 lines
550 B
Plaintext

{
"name": "url_encode",
"type": "function",
"groups": ["Maps"],
"description": "Returns an URL encoded string from a map. Transforms all characters in their properly-encoded form producing a fully-compliant query string.<br>Note that the plus sign '+' is not converted.",
"arguments": [
{
"arg": "map",
"description": "a map."
}
],
"examples": [
{
"expression": "url_encode(map('a&+b', 'a and plus b', 'a=b', 'a equals b'))",
"returns": "'a%26+b=a%20and%20plus%20b&a%3Db=a%20equals%20b'"
}
]
}