Protobuf ("Protocol Buffers") is a protocol developed by Google to serialize structured data. It is language agnostic and can be used in any programming language via libraries. Data is transfered in a non-human-readable binary compact format that is smaller than JSON. Here is a good article by Auth0 (opens in a new tab).
If you are making a real-time multiplayer game that sends a lot of data over the network, you might want to consider using Protobuf. It will come at a cost of some added complexity but that may be worth it depending on your use case. You could start building your game with JSON and then switch to Protobuf later if you find that message size is a bottleneck.
google-protobuf701M/w – In a "somewhat broken state" as per the readme. Being reworked.In a "somewhat broken state" as per the readme. Being reworked.
- protocol-buffers70020k/w2y years