Encoding functions
Reference documentation for Expressif functions in the text/encoding scope.
| Name | Overview |
|---|---|
html-to-text | Returns the argument value that has previously been HTML-encoded into a decoded string. |
json-escaped-to-text | Returns text by decoding escaped JSON string contents without requiring surrounding quotation marks. Returns null for malformed input and preserves null, empty, and blank inputs. |
text-to-html | Returns the argument value converted to an HTML-encoded string |
text-to-json-escaped | Returns the escaped contents of a JSON string without surrounding quotation marks. Preserves null, empty, and blank inputs. |
text-to-uri | Returns the input text escaped as URI data using UTF-8 percent encoding. Preserves null, empty, and blank inputs. |
text-to-xml-escaped | Returns text escaped for use as XML character data without adding a containing element. Returns null for characters that are invalid in XML and preserves null, empty, and blank inputs. |
uri-to-text | Returns text by unescaping one layer of URI percent encoding. Preserves null, empty, and blank inputs. |
xml-escaped-to-text | Returns text by decoding XML character data without requiring a containing element. Returns null for malformed input and preserves null, empty, and blank inputs. |