pygeodes.utils.io.load_json#
- pygeodes.utils.io.load_json(filepath: str) dict [source]#
This functions loads a JSON into a Python dict from a filepath
- Parameters:
- filepathstr
the file to load the dict from
- Returns:
- dict
the dict loaded
- Raises:
- Exception
an Exception if the JSON is not a valid JSON
See also
write_json
to dump a Python dict into a JSON file