[erlang-questions] Binary Erlang External Term serialization in Javascript

Danil Zagoskin <>
Sun Dec 15 23:37:28 CET 2013


Is it refactored bert.js from Nitrogen?
Files seem to have common lines:
https://github.com/nitrogen/nitrogen_core/blob/master/www/bert.js


2013/12/16 Serge Aleynikov <>

> Since websockets nowadays support binary data, I implemented binary Erlang
> External Term serialization, so that term_to_binary(Term) can be decoded
> into Javascript objects and vice versa.
>
> I'd like to share this example that illustrates the experiment:
>
> https://github.com/saleyn/erws_example
>
> The Javascript file (used by the example above) with encoding/decoding
> logic:
> https://github.com/saleyn/erlb.js
> (this is an early beta version)
>
> This is a more-or-less belated answer to the question raised by Joe in
> this thread:
> http://erlang.org/pipermail/erlang-questions/2011-November/062477.html
>
> Regards,
>
> Serge
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>


-- 
---------------------------------------------
Данил Загоскин | +7 906 064 20 47 | 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131216/baf3ddd9/attachment.html>


More information about the erlang-questions mailing list