A simple data serializer in C
TeX C JavaScript CSS Perl
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
benchmark benchmark_1.c updated. Sep 22, 2013
bin Initial commit Sep 20, 2013
doc ABNF 'Key' definition fixed. Sep 24, 2013
src Convert spaces to tabs. Mar 5, 2014
.gitignore Add .gitignore Sep 21, 2013
LICENSE Initial commit Sep 20, 2013
README.md README updated. Sep 22, 2013
makefile Initial commit Sep 20, 2013


Tny: A simple data serializer in C

Tny is a simple library to serialize data in C. It can be seen as a kind of binary JSON but unlike BSON it also supports arrays as root elements.

It was designed to be simple and easy to use. If you want to know how to use it, take a look at src/tny/tny.h or the tests located at src/tests.c


The documentation can be found in doc/, or read it online.

Binary Format

If you want to now how Tny serializes data, take a look at the Documentation at the tny.h File Reference "Detailed Description" section. There you find an ABNF specification of the binary format.

System Requirements

Tny should run on every plattform with a compatible C99 compiler. No additional libraries are required.


This software is distributed under MIT license, so feel free to use it for everything you want.