setCharset($this->getCharSet()); $oOutput->setOutputFormat(oxOutput::OUTPUT_FORMAT_JSON); $oOutput->sendHeaders(); $oOutput->output('errors', $this->_errors); $oOutput->output('content', $this->_content); exit; } }