Closed GeraldWu23 closed 5 months ago
Describe the bug Price like number not properly parsed.
To Reproduce from json_repair import repair_json repair_json("{'price': [105,000.00']}")
from json_repair import repair_json repair_json("{'price': [105,000.00']}")
Expected behavior return "{'price': ['105,000.00']}" (or return "{'price': [105,000.00]}", format doesn't matter since a quote is loss)
Screenshots
Desktop (please complete the following information):
Thanks for reporting, I will release a fix now but be advised that in this case, due to the stray ' it will be fixed a bit weirdly:
'
{"price": ["105,000.00", "]}"]}
thanks, it resolves my case
Describe the bug Price like number not properly parsed.
To Reproduce
from json_repair import repair_json repair_json("{'price': [105,000.00']}")
Expected behavior return "{'price': ['105,000.00']}" (or return "{'price': [105,000.00]}", format doesn't matter since a quote is loss)
Screenshots
Desktop (please complete the following information):