Tnetstrings is a JSON like serialisation.
You can put tnetstrings.erl in your project or add the project as a dependency if you are using rebar.
Example = {struct, [
{age, 42},
{name, <<"Robert">>}
]},
T = tnetstrings:encode(Example),
Example = tnetstrings:decode(T, [{label, atom}]).
Early release, but each types are handled.
- Following Erlang recomandation for a JSON API
- Explain errors
MIT