我从JSON文件中得到了一个列表,但我怎样才能用Python从每个结果中得到用户名和结果?
Json File
"Users" : { "abcde" : { "email" : "123@gmail.com", "gender" : "Male", "password" : "123", "result" : "Back Road Explorer", "username" : "abcde" "halo" : { "email" : "halo@gmail.com", "password" : "halo", "result" : "Outdoor Adventure", "username" : "halo" "01" : { "email" : "01@gmail.com", "gender" : "Male", "password" : "dajcaq", "result" : "Culinary Connoisseur", "username" : "01"The result should be:
username = abcde, halo, 01
result = Back Road Explorer, Outdoor Adventure, Culinary Connoisseur