skip to Main Content

Query Nested JSON Data

I am trying to query using the code below to get the value etoday but it does not return a result. Result = json.loads(json_string) # Next Line works perfect print("The value of msg", "msg", "is: ", Result["msg"]) #Next Line does…

VIEW QUESTION

read json file nested dictionary

consider this example { "items": { "PYGXGE": { "id": "a", "number": "1" }, "sbe7oa": { "id": "b", "number": "2" }, "sbe7ob": { "id": "c", "number": "3" }, "sbe7oc": { "id": "d", "number": "4" }, "sbe7od": { "id": "e", "number": "5"…

VIEW QUESTION
Back To Top
Search