load_json_from_url_or_path()

Load json from URL or path.

Usage

Source

load_json_from_url_or_path(
    url,
    name,
)

Parameters

url: str

URL to get the json from.

name: str
Name of the file.

Returns

dict | None
None.