/tnetstring-rb

Ruby implementation of Zed Shaw's tagged netstring experiment, a simple data interchange format better suited to low-level network communication than JSON.

Primary LanguageRubyMIT LicenseMIT

tnetstring-rb

Tagged netstrings were conceived by Zed Shaw as a convenient text format for exchanging small amounts of data over the network. They are meant as an alternative to JSON that are easier to handle in low-level network code. See his initial implementation here: tagged netstrings in Python. And see the official specification here: tnetstrings.org.

Installation

It’s a gem, so do the usual:

[sudo] gem install tnetstring