Skip to content

load_json API Reference

geoloop.configuration.load_json

load_json(path: str | Path) -> dict

Open a JSON configuration file and load parameters into a dictionary.

Parameters:

Name Type Description Default
path str | Path

Path to the JSON configuration file.

required

Returns:

Type Description
dict

Dictionary with parameters and values defined in the JSON file.