parameters: (self, path)
docstring: Open the JSON file and return the data as dict.
  
          Args:
              path (str): Path of the file
  
          Raises:
              None
  
          Returns:
              None
docstring_summary: Open the JSON file and return the data as dict.
docstring_tokens: Open the JSON file and return the data as dict .
function: def open_json(self, path):
          """
          Open the JSON file and return the data as dict.
  
          Args:
              path (str): Path of the file
  
          Raises:
              None
  
          Returns:
              None
          """
          try:
              with open(path, "r") as json_data_file:
                  data = json.load(json_data_file)
                  return data
          except Exception as e:
              self.logger.log(
                  "Error occured: " + str(e),
                  logtype="error"
              )
function_tokens: def open_json ( self , path ) : try : with open ( path , "r" ) as json_data_file : data = json . load ( json_data_file ) return data except Exception as e : self . logger . log ( "Error occured: " + str ( e ) , logtype = "error" )