Does anybody know good and production ready serialization library for Erlang?
I have tried erlang_protobuffs - but it fails on its tests. I don't need to expose methods or anything like this, all I need is to encode/decode messages.
Is there anything else worth trying?
As @Alexey Romanov said, try
term_to_binary
andbinary_to_term
. If you are talking between Erlang nodes, you don't even need this, because the Erlang runtime can do this for you transparently.There are also libraries for (un)serializing these values in other languages. The keyword for this is BERT (binary erlang terms). The homepage contains some links to libraries: http://bert-rpc.org/