base64d
Last updated
Base64 decodes the given string value.
base64d(input)or chained:
<string>.base64d()input (string, optional when chained) - The base64-encoded string to decode.
Function call
base64d("aGVsbG8=")
// "hello"Chained usage
"aGVsbG8gd29ybGQ=".base64d()
// "hello world"CLI usage
$ echo '{"token": "c2VjcmV0"}' | dasel -i json 'token.base64d()'
secretRoundtrip with base64e
Last updated
base64d(base64e("hello"))
// "hello"