Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameCommentsLicense
MessagePack
  • JSON-compatible schemaless binary format
  • The most popular among all, implementations exist for many languages
Java: Apache 2.0, C#: MIT, C++: MIT (nlohmann/json), Python: Apache 2.0, JavaScript: MIT, PHP: MIT
CBOR
  • Based on MessagePack
  • Less popular than MessagePack, less implementations, outdated PHP impl
  • Standardized (RFC7049) (warning), but MessagePack is simpler.
  • Included in stdlib in .NET 5 (warning)
  • "Use MsgPack instead of CBOR":  https://diziet.dreamwidth.org/6568.html
Java: Apache 2.0, C#: CC0, C++: MIT, Python: MIT, JavaScript: MIT, PHP: PHP License
FlexBuffers
  • "Schemaless cousin of Google's FlatBuffers". Can be accessed without parsing, copying, or allocation.
  • Can't serialize arbitrary objects at this point (in Java and C#)
  • Relatively new, has not gained traction

BSONDesigned for MongoDB storage and in-memory manipupation, not for network usage => more verbose than MessagePack/CBOR
UBJSONSeems to be abandoned, implementations (e.g. C#) are not maintained

...