This commit is contained in:
yumoqing 2022-06-21 19:05:14 +08:00
parent 6f2c0ea8c5
commit ad845c7c5e

View File

@ -1,4 +1,8 @@
import ujson as json
try:
import ujson as json
except:
import json
import codecs
def loadf(fn,coding='utf8'):
@ -15,4 +19,4 @@ def dumpf(obj,fn,coding='utf8'):
load = json.load
dump = json.dump
loads = json.loads
dumps = json.dumps
dumps = json.dumps