Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript object to base64

var obj = {a: 'a', b: 'b'};
var encoded = btoa(JSON.stringify(obj))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #object
ADD COMMENT
Topic
Name
4+1 =