Library/Bullhorn/FastRest/Api/Services/Output/Json.php
public function output(\stdClass $object, ResponseInterface $response) {
        $response->setContentType('application/json');
        $response->setJsonContent($object);
        $response->send();
    }
public function output(\stdClass $object, ResponseInterface $response) {
        $response->setContentType('application/json');
        $response->setJsonContent($object);
        $response->send();
    }
public function output ( \ stdClass $ object , ResponseInterface $ response ) { $ response -> setContentType ( 'application/json' ) ; $ response -> setJsonContent ( $ object ) ; $ response -> send ( ) ; }
This takes in object, and outputs it in the respective format, including sending the headers

@param \stdClass $object
@param ResponseInterface $response

@return void
This takes in object and outputs it in the respective format including sending the headers