|
|
|
|
|
by frsyuki
5114 days ago
|
|
We're using MessagePack in a Rails application to log user behaviors and analyze them. Compared with other serialization libraries such as Protocol Buffers, Avro or BSON, one of the advantages of MessagePack is compatibility with JSON. (In spite of its name, BSON has special types which cause incompatibility with JSON) It means we can exchange objects sent from browsers (in JSON format) between servers written in different languages without losing information. I will not use MessagePack with browsers but it's still useful to use it with web applications. |
|
May be a bit bigger than msgpack but is damn-near human readable even in its binary format and really easy to encode/decode. Also 1:1 compatibility with JSON.
Compatibility and simplicity were the core design tenantes. It may not be the right choice, just throwing it out there incase it helps.
Disclaimer: I am the author of the spec.