I have a JSON object containing another JSON object like below, the size of which is not fixed. I need to access the values in the inner object.
myObj = {
"name" : "XYZ",
"sex" : "F",
"questions" : {"1":"testquestion1", "2":"testquestion2", "3":"testquestion3"}
}
I need a way to extract the [testquestion1,testquestion2,testquestion3]
using a loop.
Thanks in advance!