athoune / tnetstrings

Tnetstrings for Erlang
3 stars 2 forks source link

Tnetstrings for Erlang

Tnetstrings is a JSON like serialisation.

Install

You can put tnetstrings.erl in your project or add the project as a dependency if you are using rebar.

Usage

Example = {struct, [
    {age, 42},
    {name, <<"Robert">>}
]},
T = tnetstrings:encode(Example),
Example = tnetstrings:decode(T, [{label, atom}]).

State

Early release, but each types are handled.

Todo

Licence

MIT