4 ms·
BonJSON: a 1:1 compatible binary JSON format. All of the others add extra things that make them not 1:1 compatible (able to be round-tripped without losing dat
by kstenerud 2y ago
BonJSON: a 1:1 compatible binary JSON format.
All of the others add extra things that make them not 1:1 compatible (able to be round-tripped without losing data or requiring a schema).
https://github.com/kstenerud/bonjson https://github.com/kstenerud/bonjson
It's also super simple to implement. The reference implementation in C is less than 500 LOC of clean, safe, finished code each for the encoder and decoder.
https://github.com/kstenerud/ksbonjson https://github.com/kstenerud/ksbonjson