So I know I can set the response type to JSON, and I do get JSON output, but is there a way to output the params you pass to it? I feel like it's something simple, but the following doesn't work:
I get JSON output, but I what I'm trying to do is include "digitalpoint_test" in the JSON array.
$this->_routeMatch->setResponseType('json'); return $this->responseView('XenForo_ViewPublic_DraggableThreads_Move', 'foo', array('digitalpoint_test' => 'hello world!'));