src/ResultEncoder/ResultEncoder.php
protected function encodeJsonSerializable(JsonSerializable $action_result, ResponseInterface $response, $status = 200)
    {
        return $response->write(json_encode($action_result))->withStatus($status);
    }
protected function encodeJsonSerializable(JsonSerializable $action_result, ResponseInterface $response, $status = 200)
    {
        return $response->write(json_encode($action_result))->withStatus($status);
    }
protected function encodeJsonSerializable ( JsonSerializable $ action_result , ResponseInterface $ response , $ status = 200 ) { return $ response -> write ( json_encode ( $ action_result ) ) -> withStatus ( $ status ) ; }
Encode JsonSerializable instance response, with status 200.

@param  JsonSerializable  $action_result
@param  ResponseInterface $response
@param  int               $status
@return ResponseInterface
Encode JsonSerializable instance response with status 200 .