Handle missing comma
liangjs opened this issue · 1 comments
liangjs commented
Describe the bug
Can we handle missing comma when parsing dict?
To Reproduce
json_repair.loads('''{
"number": 1,
"reason": "According..."
"ans": "YES"
}''')
This code produces {'number': 1, 'reason': 'According..."\n "ans": "YES'}
.
But we expect {'number': 1, 'reason': 'According...', 'ans': 'YES'}
.
mangiucugna commented
Thanks @liangjs, this is a regression as I changed the way quotes are handled to support many more cases.