nispace.io.read_json

nispace.io.read_json(json_path)[source]

Load a JSON file, or pass through a dict-like object as a dict.

Parameters:

json_path (str, os.PathLike, or dict-like) – Path to a JSON file, or an already-loaded dict-like object.

Return type:

dict