Skip to main content

$$compress

Compress using GZip

Usage

{ 
"$$compress": /* String to compress */,
"charset": "UTF-8" /* or UTF-16 / ISO-8859-1 */
}
"$$compress([charset]):{input}"
note

Concrete values in the usage example are default values.

Returns

string

Arguments

ArgumentTypeValuesRequired / Default ValueDescription
InputstringYesString to compress
charsetenumUTF-8/ UTF-16/ISO-8859-1UTF-8Character encoding of input

Examples

Input

Definition

Output

"Hello World 🌎"
{
"$$compress": "$"
}
"\u001f‹\b\u0000\u0000\u0000\u0000\u0000\u0000ÿóHÍÉÉW\bÏ/ÊIQø0¿§\u000f\u0000ýIžë\u0010\u0000\u0000\u0000"