parameters: (self)
return_statement: return simplejson.dumps(d)
docstring: Returns a JSON representation of the HttpRequest.
docstring_summary: Returns a JSON representation of the HttpRequest.
docstring_tokens: Returns a JSON representation of the HttpRequest .
function: def to_json(self):
      """Returns a JSON representation of the HttpRequest."""
      d = copy.copy(self.__dict__)
      if d['resumable'] is not None:
        d['resumable'] = self.resumable.to_json()
      del d['http']
      del d['postproc']
  
      return simplejson.dumps(d)
function_tokens: def to_json ( self ) : d = copy . copy ( self . __dict__ ) if d [ 'resumable' ] is not None : d [ 'resumable' ] = self . resumable . to_json ( ) del d [ 'http' ] del d [ 'postproc' ] return simplejson . dumps ( d )