0
I need to take only the value of the objects that have correct:true and if you do not need to return []
"questions": [{
    "title": "Qual é a raça de Goku?",
    "image": {
        "path": ""
    },
    "alternatives": [{
        "title": "Sayajins",
        "image": {
            "path": ""
        },
        "correct": true
    }, {
        "title": "Anjo",
        "image": {
            "path": ""
        }
    }, {
        "title": "Android",
        "image": {
            "path": ""
        }
    }],
    "alternativeType": 1
}
It would have to stay that way
    "questions": [{
        "alternatives": [{
                "correct": true
            },
            [],
            []
        ]
    }
Have you tried anything? You could put the code in the question and what was the result obtained?
– Woss