An open-source binary JSON serialization format based on JSON Schema with a strong focus on space-efficiency. Transmitting smaller payloads reduces operational costs and improves user experience.
A reproducible benchmark study has proven JSON BinPack to be space-efficient in comparison to 12 alternative binary serialization formats in every considered case. Additionally, JSON BinPack typically provides higher average size reduction than general purpose compressors such as GZIP, LZMA and LZ4 with the highest compression levels.
JSON BinPack adopts the industry-standard schema language for JSON documents. Re-use the same schemas you already have in your OpenAPI, AsyncAPI, RAML or other specifications. No need to learn more domain-specific schema languages or attempt to translate between them.
JSON BinPack is a hybrid serialization format that runs in both schema-driven and schema-less modes. Thanks to JSON Schema, JSON BinPack allows you to be as loose or specific as your use case demands, even within the same document, without having to use different serialization technologies.