original_docstring: 
      Function that converts a text file into a Python dictionary.
      :param file_name: path and file name of the input JSON file.
      :return: Python dictionary of the converted JSON file.
      
docstring: Function that converts a text file into a Python dictionary.
docstring_tokens: Function that converts a text file into a Python dictionary .
code: def json_parser(file_name):
      """
      Function that converts a text file into a Python dictionary.
      :param file_name: path and file name of the input JSON file.
      :return: Python dictionary of the converted JSON file.
      """
      str_help = ''
      try:
          f = open(file_name, 'r')
          lines = f.readlines()
          for line in lines:
              str_help = str_help + line.strip()
          f.close()
      except FileNotFoundError:
          logger.global_logger.log_error(log_messages.messages.file_not_found % file_name)
      return json.loads(str_help)
code_tokens: def json_parser ( file_name ) : str_help = '' try : f = open ( file_name , 'r' ) lines = f . readlines ( ) for line in lines : str_help = str_help + line . strip ( ) f . close ( ) except FileNotFoundError : logger . global_logger . log_error ( log_messages . messages . file_not_found % file_name ) return json . loads ( str_help )
short_docstring: Function that converts a text file into a Python dictionary.
short_docstring_tokens: Function that converts a text file into a Python dictionary .
comment: """
      Function that converts a text file into a Python dictionary.
      :param file_name: path and file name of the input JSON file.
      :return: Python dictionary of the converted JSON file.
      """