Go package for working with Universal Binary JSON - http://ubjson.org/
MIT License
A Go package implementing encoding and decoding of Universal Binary JSON (spec 12).
Type specific methods for built-in types.
Automatic encoding via reflection for most types.
Custom encoding via Value interface.
Streaming support via Encoder/Decoder.
Support for optimized format.
Block format.
b, _ := ubjson.MarshalBlock(8)
// [U][8]
b, _ = ubjson.MarshalBlock("hello")
// [S][U][5][hello]
var v interface{}
...
b, _ = ubjson.Marshal(v)
// ...