You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
p = Base64.encode64(Marshal.dump(:a))
p = Base64.encode64(Marshal.dump("a"))
I get:
"BAg6BmE=\n"
"BAhJIgZhBjoGRVQ=\n"
If I try to parse these with marshal:
var _symbol = (new Marshal("BAg6BmE=\n",'base64')).parsed
var _string = (new Marshal("BAhJIgZhBjoGRVQ=\n",'base64')).parsed
console.log(_symbol == _string)
I get: True
Is there any way to extend the Marshal parsing algorithm to parse symbols as JavaScript symbols instead?
The text was updated successfully, but these errors were encountered:
If I have the following code:
I get:
If I try to parse these with marshal:
I get:
True
Is there any way to extend the Marshal parsing algorithm to parse symbols as JavaScript symbols instead?
The text was updated successfully, but these errors were encountered: