What will be the return type of the execute method?

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

Latest AD0-E709 Dumps Valid Version with 135 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments