0
点赞
收藏
分享

微信扫一扫

python class 嵌套 转 json


 

 

json_data = json.dumps(teamclass, default=lambda o: o.__dict__, 
indent=4)

 



举报

相关推荐

0 条评论