I comprehend how to set a mojito to accept post request in the routes.jsom
I comprehend how to access all post request in the controller.server of a mojit within the app
But, what if I want the mojito app to send back json value to whatever called it?
The views use html, what do i use to send json back to whatever called the mojito app? I recognize the controller manipulates the data but I am lost as to how to respond to a json call to a mojito app. If you know of an example in the documents that gives the clue do tell, or whatever paths of investigation you can suggest, please do so.