torrust-tracker
torrust-tracker copied to clipboard
Serialization from Bencode to JSON
- Bencode format: https://en.wikipedia.org/wiki/Bencode
- JSON format: https://www.json.org/json-en.html
In some issues, we need to be able to serialize generic bencoded data into a JSON.
Issues requiring this feature
- https://github.com/torrust/torrust-tracker/issues/672
Implementation
We are discussing how to implement it:
- https://github.com/torrust/teps/discussions/15
I've implemented the first version of a library to do it:
https://github.com/torrust/bencode2json
The crate has not been published yet; we are still reorganizing the code and collecting feedback.
I've implemented the first version of a library to do it:
https://github.com/torrust/bencode2json
The crate has not been published yet; we are still reorganizing the code and collecting feedback.
I have just published the new crate bencode2json:
https://crates.io/crates/bencode2json