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.
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.
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.