Say I have this json:
"myObject" : {
  "trans": {
    "somekey": {
      "name": "i want this value"
    }
  }
}
How can I access "i want this value" without knowing the name of "somekey"?
After reading this, I understood it can be done with indexing:
myObject.trans[0].name
But I am getting an undefind. Why is that?
 
     
     
    