stripe:如何将stripe模型对象转换为JSON以获取完整的层次数据?

2024-10-01 22:30:57 发布

您现在位置:Python中文网/ 问答频道 /正文

如何将stripemodel对象转换为JSON以在客户端接收完整的层次数据?在

stripeCustomer = stripe.Customer.retrieve(<stripe customer id>)
sendResponseToClient(stripeCustomer)

我在客户端只接收到一级数据作为json,来自stripejson对象的第二级数据没有格式化。在

JSON数据示例:(客户端未接收第二级数据,)

^{pr2}$

Tags: 数据对象idjson客户端示例customerstripe

热门问题