/jsonbinpack

An open-source binary JSON serialization format based on JSON Schema 2020-12 with a strong focus on space-efficiency.

Primary LanguageC++GNU Affero General Public License v3.0AGPL-3.0

JSON BinPack

JSON BinPack is an open-source binary JSON serialization format with a strong focus on space efficiency. It supports schema-driven and schema-less modes to encode any JSON document given a matching JSON Schema 2020-12 definition.


This is a work-in-progress. You can watch the repository or join the wait-list on the official website to get a notification when the first release is out.

In the mean-time, star the project to show your support!


Documentation

Refer to the project website for documentation: https://www.jsonbinpack.org.

Do you have any questions? Open a ticket on GitHub Discussions!

Building JSON BinPack

JSON BinPack is a C++ project that makes use of the CMake build system. It is expected to compile on LLVM and GCC on macOS, GNU/Linux and FreeBSD, an on MSVC on Windows.

JSON BinPack provides a set of CMake presets to configure, build and test the project.

cmake --list-presets

You can configure, build and test the project using a given preset as follows:

cmake --preset <preset>
cmake --build --preset <preset> --parallel
ctest --preset <preset>

Once the project has been built, the JSON BinPack command-line tool can be found somewhere within build, depending on your generator of choice.