This is what I have:
a = b.json()
print(a)
{
'data':
{
'UID': '123',
'Status': 'Completed'
}
}
This is what I want:
list_a = ['UID','Status']
list_b = ['123','Completed']
How can I go about doing this? I tried using a.tolist()
but that doesn’t exactly produce what I need.