How to access nested child object in JSON-format using javascript considering I don't know how deep the child element is?
I have tried:
var body = json..simplyChild; 
but doesn't work for me
var json = {
    "root": {
        "firstChild": {
            "secondChild": {
                "simplyChild": "kek"
            }
        }
    }
}
 
     
     
    