RyanMarcus / dirty-json

A parser for invalid JSON
GNU Affero General Public License v3.0
307 stars 30 forks source link

Quote escape seem to not work with a unique quote at the begining of string #34

Open christopheSeeka opened 3 years ago

christopheSeeka commented 3 years ago

Hello,

I have a problem with a json that the lib seem not able to fix:

{"title": "Colorful", "desc": ""Lorem ipsum dolor sit amet, consectetur adipiscin"}

It is because the desc value start with a "

Any idea why the quote is not escaped when at start and how to fix it?