Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Tnetstrings for Erlang

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 rebar
README.md

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

  • Following Erlang recomandation for a JSON API
  • Explain errors

Licence

MIT

Something went wrong with that request. Please try again.