Role of json_util.py utility in the repo #6012
-
As replied by @devos50 here, the json_util.py file in anydex-core came to be when the repo was migrated from Py2 to Py3. Is it the same case in repo? Edit: opened a discussion page after being redirected here from the Tribler forum https://forum.tribler.org/t/role-of-json-util-py-utility-in-tribler-repo/6478 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
When JSON decoding failed in Python 2 we would be confronted with a "something went wrong 🤷" error. That is why I made Now that we are running on Python 3, the file is no longer necessary. JSON decoding errors are now much richer in context. Downstream, in IPv8, the |
Beta Was this translation helpful? Give feedback.
When JSON decoding failed in Python 2 we would be confronted with a "something went wrong 🤷" error. That is why I made
json_util.py
4 years ago.Now that we are running on Python 3, the file is no longer necessary. JSON decoding errors are now much richer in context. Downstream, in IPv8, the
json_util.py
has also long since been removed.