original_string: protected function checkJsonError()
      {
          if(!function_exists('json_last_error'))
          {
              throw new BadFunctionCallException('json_last_error() function not exits');
          }
          
          $jsonError = json_last_error();
          if($jsonError !== JSON_ERROR_NONE)
          {
              $this->jsonErrorException($jsonError);
          }
          
          return true;
      }
code: protected function checkJsonError()
      {
          if(!function_exists('json_last_error'))
          {
              throw new BadFunctionCallException('json_last_error() function not exits');
          }
          
          $jsonError = json_last_error();
          if($jsonError !== JSON_ERROR_NONE)
          {
              $this->jsonErrorException($jsonError);
          }
          
          return true;
      }
code_tokens: protected function checkJsonError ( ) { if ( ! function_exists ( 'json_last_error' ) ) { throw new BadFunctionCallException ( 'json_last_error() function not exits' ) ; } $ jsonError = json_last_error ( ) ; if ( $ jsonError !== JSON_ERROR_NONE ) { $ this -> jsonErrorException ( $ jsonError ) ; } return true ; }
docstring: Check exists error for last execution json funtion
  
  @return boolean
  @throws BadFunctionCallException
docstring_tokens: Check exists error for last execution json funtion