mangiucugna/json_repair

[Bug]: bad str endswith ]}

Closed this issue · 0 comments

Version of the library

0.30.2

Describe the bug

bad_str = '{"extract_type": "输出字符串", "extract_msg": ["concat(1,(select md5(68488)))]}'
Expected:
'{"extract_type": "输出字符串", "extract_msg": ["concat(1,(select md5(68488)))"]}'

How to reproduce

'{"extract_type": "输出字符串", "extract_msg": ["concat(1,(select md5(68488)))]}'

Expected behavior

'{"extract_type": "输出字符串", "extract_msg": ["concat(1,(select md5(68488)))"]}'