parameters: (self)
return_statement: return '\n'.join([line.rstrip() for line in pretty_lines]) + '\n'
docstring: Returns the Manifest as a JSON-formatted string
docstring_summary: Returns the Manifest as a JSON-formatted string
docstring_tokens: Returns the Manifest as a JSON - formatted string
function: def GetJson(self):
      '''Returns the Manifest as a JSON-formatted string'''
      pretty_string = json.dumps(self.GetManifest(), indent=2)
      # json.dumps sometimes returns trailing whitespace and does not put
      # a newline at the end.  This code fixes these problems.
      pretty_lines = pretty_string.split('\n')
      return '\n'.join([line.rstrip() for line in pretty_lines]) + '\n'
function_tokens: def GetJson ( self ) : pretty_string = json . dumps ( self . GetManifest ( ) , indent = 2 ) # json.dumps sometimes returns trailing whitespace and does not put # a newline at the end.  This code fixes these problems. pretty_lines = pretty_string . split ( '\n' ) return '\n' . join ( [ line . rstrip ( ) for line in pretty_lines ] ) + '\n'