Problem when binding values into a nested object
I want to add data to the following object structure.
Company {
stat {
internalData {
value = 35
}
}
}
I have used the below code
Company.stat.internalData["value"] = 35;
When I used the above code I got the error as internalData is undefined. Could someone kindly help me. Thanks inadvance.