Update json_utils.py
This was used differently in a local branch and an error.pull/747/head
parent
e62a3be294
commit
efcc6a3f76
|
@ -76,7 +76,7 @@ def balance_braces(json_string: str) -> str:
|
||||||
json.loads(json_string)
|
json.loads(json_string)
|
||||||
return json_string
|
return json_string
|
||||||
except json.JSONDecodeError as e:
|
except json.JSONDecodeError as e:
|
||||||
raise e
|
pass
|
||||||
|
|
||||||
|
|
||||||
def fix_invalid_escape(json_str: str, error_message: str) -> str:
|
def fix_invalid_escape(json_str: str, error_message: str) -> str:
|
||||||
|
|
Loading…
Reference in New Issue