human
Find a value within nested json dictionary in python
assistant
Here is some code to find a value within nested json 'data' where the key inside another key 'B' is unknown.

list(data['A']['B'].values())[0]['maindata'][0]['Info']

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.