parameters: ( filename, should_remove_comments=False )
return_statement: return json.loads( file_contents )
docstring: Turn a JSON file into a dict
docstring_summary: Turn a JSON file into a dict
docstring_tokens: Turn a JSON file into a dict
function: def get_json_from_file( filename, should_remove_comments=False ):
  	"""
  	Turn a JSON file into a dict
  	"""
  	with open( filename, "r" ) as file_handler:
  		file_contents = file_handler.read()
  
  	if should_remove_comments:
  		file_contents = remove_comments( file_contents )
  
  	return json.loads( file_contents )
function_tokens: def get_json_from_file ( filename , should_remove_comments = False ) : with open ( filename , "r" ) as file_handler : file_contents = file_handler . read ( ) if should_remove_comments : file_contents = remove_comments ( file_contents ) return json . loads ( file_contents )