json转python_将“true”(JSON)转换为Python等效的“True”
我最近使用的Train状态API在JSON对象中添加了两个额外的键值对(has_arrived,has_departed),这导致我的脚本崩溃.这是字典:{"response_code": 200,"train_number": "12229","position": "at Source","route": [{"no": 1,"has_arri