File: README.md

package info (click to toggle)
biniou 1.0.12-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 216 kB
  • sloc: ml: 1,808; makefile: 175
file content (21 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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](https://github.com/mjambon/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](https://mjambon.github.io/atdgen-doc/)
is used to derive OCaml-Biniou serializers and
deserializers from type definitions.

Biniou format specification:
https://mjambon.github.io/atdgen-doc/biniou-format.txt