throttle - backend¶ PyORJSONDecoder module-attribute ¶ PyORJSONDecoder = cast(type[JSONDecoder], _PyORJSONDecoder) Compatible with Python's json.JSONDecoder. The typing.cast function Cast to a json.JSONDecoder. PyORJSONEncoder module-attribute ¶ PyORJSONEncoder = cast(type[JSONEncoder], _PyORJSONEncoder) Compatible with Python's json.JSONEncoder. The typing.cast function Cast to a json.JSONEncoder. ORJSONEncoder ¶ ORJSON Encoder Class encode staticmethod ¶ encode(o) Source code in webtool/utils/json.py 12 13 14@staticmethod def encode(o): return orjson.dumps(o) ORJSONDecoder ¶ ORJSON Decoder Class decode staticmethod ¶ decode(s, *args) Source code in webtool/utils/json.py 41 42 43@staticmethod def decode(s, *args): return orjson.loads(s)