slidedeckai.helpers.text_helper.fix_malformed_json#

slidedeckai.helpers.text_helper.fix_malformed_json(json_str: str) str[source]#

Try and fix the syntax error(s) in a JSON string.

Parameters:

json_str – The input JSON string.

Returns:

The fixed JSON string.