original_docstring: 
  		convert json Object to HTML Table format
  		
docstring: convert json Object to HTML Table format
docstring_tokens: convert json Object to HTML Table format
code: def convert(self, **args):
  		'''
  		convert json Object to HTML Table format
  		'''
  
  		# table attributes such as class
  		# eg: table_attributes = "class = 'sortable table table-condensed table-bordered table-hover'
  		global table_attributes
  		table_attributes = ''
  
  		if 'table_attributes' in args:
  			table_attributes = args['table_attributes']
  		else:
  			# by default HTML table border
  			table_attributes = 'border="1"'
  
  		if 'json' in args:
  			self.json_input = args['json']
  			try:
  				json.loads(self.json_input)
  			except:
  				self.json_input = json.dumps(self.json_input)
  		else:
  			raise Exception('Can\'t convert NULL!')
  
  
  		ordered_json = json.loads(self.json_input, object_pairs_hook=ordereddict.OrderedDict)
  
  		return self.iterJson(ordered_json)
code_tokens: def convert ( self , ** args ) : global table_attributes table_attributes = '' if 'table_attributes' in args : table_attributes = args [ 'table_attributes' ] else : table_attributes = 'border="1"' if 'json' in args : self . json_input = args [ 'json' ] try : json . loads ( self . json_input ) except : self . json_input = json . dumps ( self . json_input ) else : raise Exception ( 'Can\'t convert NULL!' ) ordered_json = json . loads ( self . json_input , object_pairs_hook = ordereddict . OrderedDict ) return self . iterJson ( ordered_json )
short_docstring: convert json Object to HTML Table format
short_docstring_tokens: convert json Object to HTML Table format
comment: '''
  		convert json Object to HTML Table format
  		'''$SEP$# table attributes such as class$SEP$# eg: table_attributes = "class = 'sortable table table-condensed table-bordered table-hover'$SEP$# by default HTML table border