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

Serge Aleynikov serge@REDACTED
Sun Dec 15 22:39:19 CET 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131215/74b2b6e4/attachment.htm>


More information about the erlang-questions mailing list