langchain_community.utilities.clickup
.load_query¶
- langchain_community.utilities.clickup.load_query(query: str, fault_tolerant: bool = False) Tuple[Optional[Dict], Optional[str]] [source]¶
Attempts to parse a JSON string and return the parsed object.
If parsing fails, returns an error message.
- Parameters
query (str) – The JSON string to parse.
fault_tolerant (bool) –
- Returns
A tuple containing the parsed object or None and an error message or None.
- Return type
Tuple[Optional[Dict], Optional[str]]