I want to read a JSON value using a dynamic key using Python. For example, I have a JSON in the following format
{
"Personal": {
"Address": {
"City": "Newyork",
"Country": "USA"
}
},
"number": 123,
"object": {
"a": "b",
"c": "d",
"e": "f"
}
}
If I enter a string as "Personal.Address.City", I need to get city value using Python.