Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // just a test to see if compressing url-encoded json looks/works any better
- var strofa = require("strofa");
- cl = function(obj) { console.dir(obj, {depth: null, colors: true}); };
- var string = '{"subjectonly_keyword":["ACCTG 713"]}';
- cl(string);
- cl(encodeURIComponent(string));
- var output = strofa.english.encodeBase64(string);
- cl(output);
- cl(strofa.english.decodeBase64(output));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement