Bencode
Bencode is the encoding format used by BitTorrent for .torrent files and DHT protocol messages. It supports four data types: integers (i42e), strings (4:spam), lists (l...e), and dictionaries (d...e). Decode converts bencoded data to JSON-like notation. Encode converts JSON to bencode (note: floats and booleans are not supported).
Learn more