dropbox-sdk

Cast Dropbox class to JSON

Cast Dropbox class to JSON Question: I am using the Python Dropbox package to pull team events: dbx = dropbox.DropboxTeam(self.access_token) result = dbx.team_log_get_events() I need to pass the value of result along as a JSON object. When I try using json.dumps(result), I get this error: TypeError: Object of type GetTeamEventsResult is not JSON serializable Is …

Total answers: 2