What will be the return type of the execute method?

Posted by: Pdfprep Category: AD0-E703 Tags: , ,

Your module adds a new controller class which will return a JSON response.

What will be the return type of the execute method?
A . You should implement a new API endpoint instead of returning JSON from a controller
B . The string value of Zend_Json::encode()
C . An instance of MagentoFrameworkControllerResultJson
D . No return needed, an object that can be converted to JSON must be set as the
Response body

Answer: C

Leave a Reply

Your email address will not be published.