Convert a JSON operation into a base64-encoded string and back with literal ease!

this was made by Jason Vertucio to help him at work. ENJOY! 😁

BTOA: Transform JSON to base64 string

Must be Valid JSON

{{ vm.btoa(btoaText) }}

ATOB: Transform base64 string to JSON

Must be Valid base64-encoded JSON

{{ vm.valid(atobText,'atob') ? (vm.atob(atobText) | json) : ''}}