精彩文章免费看

python遍历json的key和value

test_json = {"a":1,"b":2,"c":3}
for key,value in test_json.items():
    print key,value