1
0
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:
Adolfo Gómez García 2021-11-21 18:10:49 +01:00
parent a0365e1277
commit 91923654f0

View File

@ -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