I have nested dictionaries:
{\'key0\': {\'attrs\': {\'entity\': \'p\', \'hash\': \'34nj3h43b4n3\', \'id\': \'4130\'},
u\'key1\': {\'attrs\': {\'ent
I believe pydash will give you the most efficient way to achieve this.
For example:
data = {'a': {'b': {'c': [0, 0, {'d': [0, {1: 2}]}]}}, 'names': {'first': 'gus', 'second': 'parvez'}}
pydash.get(data, 'a.b.c.2.d.1.[1]')
# output: 2
Detail documentation you can find here: https://pydash.readthedocs.io/en/latest/quickstart.html