(o, 0) File "/usr/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Objectof type {o.__name__} ' TypeError: Object of typebytes is not JSONse
://api.sendpulse.com/smtp/emails', headers=self.get_request_headers(),
json如果不追加.decode(),则会引发TypeError: Object of typebytes is not JSONserializable 如果我使用'r'模式而不是'rb&
raise TypeError(repr(o) + \" is not JSONserializable\")\nexceptions.TypeError: <DeferredWithContextat 0x4bfbb48 current result: <twisted.python.failure.Failure <type 'exceptions.NameError'>>> is not JSON