Add support for binaries
yrashk opened this issue · comments
Not sure how exactly it should be done, binary-to-string? Special kind of object?
Should it be done at all? Given that its support is now available through externs?
Most of json objects arehandled in binaries.
actually if I do :
27> Global:set_value("obj",erlv8_object:new([{<<"test">>, <<"test">>}])).
{erlv8_object,[{<<"test">>,<<"test">>}],undefined}
28> Obj3 = Global:get_value("obj").
undefined
It won't work which is quite annoying.
Good catch. Will fix.