I have a nested JSON object having the following structure. I would like to retrieve all nested level "concept" elements under the main level "details". I'm having trouble in accessing those inner layers of json recursively and getting it's corresponding values..
d = {"canonical": None, 
     "concept": "_MAIN", 
     "correct_string": "xxx", 
     "definition": "",
     "details": [{
                   "details": [{
                        "concept": "_A",
                            "details": [{
                                "concept": "_B",
                                    "details": [{
                                        "concept": "_C",
                                            "details": [{
                                                "concept": "_D", ....
Expected output:
details_concepts = ['_A', '_B', 'C', 'D']
Any help would be greatly appreciated.
 
     
    