我有一个示例数组json:
[
{
'Clothes':[
{
'id': '32705111',
'describes': 'no problem'
}
]
},
{
'Dress':[
{
'id': '32705111',
'describes': 'no outfit'
}
]
}
]
预期:我希望通过PyThon获得每个数组的名称和所有数组元素,例如'Cloth'和'Dress'是一个数组的名称
Clothes[{'id': '32705111','describes': 'no problem'}], Dress[{'id': '32705111', 'describes': 'no outfit'}]
请帮我解决这个问题。非常感谢你,我爱你
试试下面的代码,我想这就是你要找的
输出-
相关问题 更多 >
编程相关推荐