I have the below JSON response:
{
"A":{"Option1":true,"Option2":true,"Option3":false}
"B":{"OptionX":true,"OptionY":true,"OptionZ":false}
}
I want to get the following values in a string: Option1, Option2, OptionX, OptionY
I have tried the below but with no luck:
Array.from(this.model).forEach(child => {
console.log(child, 'child name')
});