roundcubemail/program/include/rcmail.php
public function json_init()
    {
        if (!($this->output instanceof rcmail_output_json)) {
            $this->output = new rcmail_output_json($this->task);
        }

        return $this->output;
    }
public function json_init()
    {
        if (!($this->output instanceof rcmail_output_json)) {
            $this->output = new rcmail_output_json($this->task);
        }

        return $this->output;
    }
public function json_init ( ) { if ( ! ( $ this -> output instanceof rcmail_output_json ) ) { $ this -> output = new rcmail_output_json ( $ this -> task ) ; } return $ this -> output ; }
Create an output object for JSON responses

@return rcube_output Reference to JSON output object
Create an output object for JSON responses