I have a json below, and I want to parse out value from this dict.
I can do something like this to get one specific value
print(abc['everything']['A']['1']['tree']['value'])
But, what is best way to parse out all "value?" I want to output good, bad, good.
abc = {'everything': {'A': {'1': {'tree': {'value': 'good'}}},
'B': {'5': {'tree1': {'value': 'bad'}}},
'C': {'30': {'tree2': {'value': 'good'}}}}}
valuethen return its value, repeat.[v[0][0][0] for v in [[[list(l3.values()) for l3 in l2.values()] for l2 in l1.values()] for l1 in abc['everything'].values()]]