@classmethod
    def encode(cls, obj, **opts):
        return _json.dumps(obj, allow_nan=False, ensure_ascii=False, encoding='utf-8', **opts)
Encode the given object as a JSON string.
dataset/ETHPy150Open samizdatco/corduroy/corduroy/config.py/json.encode