-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Right now builtin json lib is used:
| import json |
jsonformatter/jsonformatter/jsonformatter.py
Line 165 in a5561e5
| return json.loads(fmt, object_pairs_hook=dictionary) |
jsonformatter/jsonformatter/jsonformatter.py
Line 427 in a5561e5
| return json.dumps( |
But there're other libs that are faster, for example orjson, ujson, rapidjson, simplejson.. and more. It'll be cool to have an ability to change encoder (for speed and compatibility purposes).
Possible solution to make it flexible:
https://github.com/aiogram/aiogram/blob/dev-2.x/aiogram/utils/json.py
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request