package biniou
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=35546c68b1929a8e6d27a3b39ecd17b38303a0d47e65eb9d1480c2061ea84335
sha512=82670cc77bf3e869ee26e5fbe5a5affa45a22bc8b6c4bd7e85473912780e0111baca59b34a2c14feae3543ce6e239d7fddaeab24b686a65bfe642cdb91d27ebf
README.md.html
README.md
This project is unmaintained. Pull requests won't be reviewed. If you would like to contribute, please request a transfer to ocaml-community.
Biniou
Biniou (pronounced "be new") is a binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve. Biniou is vastly equivalent to JSON in terms of functionality but allows implementations several times faster (4 times faster than yojson), with 25-35% space savings.
Biniou data can be decoded into human-readable form without knowledge of type definitions except for field and variant names which are represented by 31-bit hashes. A program named bdump
is provided for routine visualization of biniou data files.
The program atdgen is used to derive OCaml-Biniou serializers and deserializers from type definitions.
Biniou format specification: https://mjambon.github.io/atdgen-doc/biniou-format.txt