read_json#
- ansys.aedt.core.generic.file_utils.read_json(input_file: str | Path, encoding: str = 'utf-8') dict#
Load a JSON file to a dictionary.
- Parameters:
- input_file
strorpathlib.Path Full path to the JSON file.
- encoding
str,optional Text encoding used to read the JSON file. The default is
"utf-8".
- input_file
- Returns:
dictParsed JSON file as a dictionary.