May 2, 2022 - Reading time: ~1 minute
Bencode is a compact serialization format comparable to JSON. It is used heavily in the Bittorrent ecosystem. For most use cases, it will result in a smaller encoding than JSON.
Bencode supports a few common data types; integer, byte array / string, list and dictionary.