public function json($status_code, $message, $data = null)
    {
        return response()->json([
                                    'status_code' => $status_code,
                                    'message'     => $message,
                                    'data'        => $data,
                                    'request'     => \request()->all(),
                                ]);
    }
public function json($status_code, $message, $data = null)
    {
        return response()->json([
                                    'status_code' => $status_code,
                                    'message'     => $message,
                                    'data'        => $data,
                                    'request'     => \request()->all(),
                                ]);
    }
public function json ( $ status_code , $ message , $ data = null ) { return response ( ) -> json ( [ 'status_code' => $ status_code , 'message' => $ message , 'data' => $ data , 'request' => \ request ( ) -> all ( ) , ] ) ; }
Basic Json method.

@param      $status_code
@param      $message
@param null $data

@return mixed
Basic Json method .