load_json#

langchain_community.callbacks.utils.load_json(json_path: str | Path) str[source]#

Load json file to a string.

Parameters:

json_path (str) – The path to the json file.

Returns:

The string representation of the json file.

Return type:

(str)