Encoding
The Encoding registry offers methods for encoding and decoding data in different formats, allowing for flexible data representation and storage within your templates.
base64Encode
{{ "Hello World!" | base64Encode }} // Output: "SGVsbG8gV29ybGQh"base64Decode
{{ "SGVsbG8gV29ybGQh" | base64Decode }} // Output: "Hello World!"base32Encode
{{ "Hello World!" | base32Encode }} // Output: "JBSWY3DPEBLW64TMMQQQ===="base32Decode
fromJSON
toJSON
toPrettyJSON
toRawJSON
fromYAML
toYAML
toIndentYAML
Last updated