langchain.utilities.clickup.load_query

langchain.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 – The JSON string to parse.

Returns

A tuple containing the parsed object or None and an error message or None.