Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding missing escape for double quote not working #114

Closed
lerman01 opened this issue Jan 21, 2024 · 2 comments · Fixed by #116
Closed

Adding missing escape for double quote not working #114

lerman01 opened this issue Jan 21, 2024 · 2 comments · Fixed by #116
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@lerman01
Copy link

I have the following JSON:
{ "text": "I want to buy 65" television" }

I would expect that the output will be:
{ "text": "I want to buy 65\\" television" }

however in the playground im getting the following error:
Colon expected at position 45

@josdejong
Copy link
Owner

Thanks for your input. It would be nice to improve the library further with repairing missing escape characters and finding the right end quote of such a string with unescaped quotes. For example { 'text': 'I want to buy 65" television' } is correctly repaired.

Help would be welcome.

@josdejong josdejong added enhancement New feature or request help wanted Extra attention is needed labels Jan 24, 2024
@josdejong
Copy link
Owner

Fixed now in v3.6.0 via #116.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants