base64e
Last updated
Base64 encodes the given string value.
base64e(input)or chained:
<string>.base64e()input (string, optional when chained) - The string to encode.
Function call
base64e("hello")
// "aGVsbG8="Chained usage
"hello world".base64e()
// "aGVsbG8gd29ybGQ="CLI usage
$ echo '{"name": "secret"}' | dasel -i json 'name.base64e()'
c2VjcmV0Last updated