我有这种json格式
{
'error': 'ok',
'result': {
'CPDK3POGXGXJDQBUEKTMPV3WBF': {
'time_created': 1574768898,
'status': -1
},
'CPDK1HE3GUYKJW2S6POCYHERDZ': {
'time_created': 1574770919,
'status': 0
},
'CPDK5ZKGXZ5ZEQIUMO1C2VBBK9': {
'time_created': 1574770920,
'status': 0
},
'CPDK65NN8VE16GZECL99FSRFYU': {
'time_created': 1574768933,
'status': -1
}
}
}
在我的python中,我有(示例):
value = {
CPDK3POGXGXJDQBUEKTMPV3WBF,
CPDK1HE3GUYKJW2S6POCYHERDZ,
CPDK5ZKGXZ5ZEQIUMO1C2VBBK9,
CPDK65NN8VE16GZECL99FSRFYU
}
我该如何格式化它以更新“值”中每条记录的数据库表“状态”?