https://my.oschina.net/gibsonxue/blog/5075809
json_data = json.dumps(teamclass, default=lambda o: o.__dict__, indent=4)