mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-24 21:34:41 +03:00
Added orjson as json "first option" for REST API (python json else)
This commit is contained in:
parent
a0365e1277
commit
91923654f0
@ -31,7 +31,11 @@
|
||||
@author: Adolfo Gómez, dkmaster at dkmon dot com
|
||||
"""
|
||||
import datetime
|
||||
import json
|
||||
try:
|
||||
import orjson as json
|
||||
except ImportError:
|
||||
import json as json # type: ignore
|
||||
|
||||
import logging
|
||||
import time
|
||||
import types
|
||||
|
Loading…
Reference in New Issue
Block a user