Closed XcantloadX closed 5 months ago
Replacing json.dumps
with orjson.dumps
seems like a straightforward solution.
That's a good idea. There are many libraries that perform faster than json, and I myself have given up using json and replaced it with ujson or something else
I ran into a problem with orjson. There is no recipe for p4a, so it cannot be used on Android. There is an issue about adding a recipe in the p4a repo https://github.com/kivy/python-for-android/issues/3001 Let's wait until the support is added.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
Specification
Description
Custom JSON encoders will be helpful if you want to return a namedtuple or dataclass object.
Practicalities
YES I am willing to work on this issue myself.
NO I am prepared to support this issue financially.