|
|
|
|
|
by Mordak
2514 days ago
|
|
At my work we recently went through a large exercise to decide on a common data storage format. The contenders were JSON, MessagePack, and Avro. MessagePack won because: - Msgpack serialization and deserialization is very fast in many languages - often 100x faster then JSON - Msgpack natively supports encoding binary data - Msgpack has type extensions, making it trivial to represent common types in an efficient way (eg. IPv4 address, timestamps) - Msgpack has good libraries available in many languages If you do not care about those things (no binary data, no need for extended types, not performance critical) then JSON is just fine. |
|