/** * Renders a JSON view */ private function _renderJson() { $this->body = Json::encode($this->data); }