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

Strip escape characters from an escaped string using two double quotes as escape #119

Open
josdejong opened this issue Feb 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@josdejong
Copy link
Owner

In many programming languages, a backslash is used to escape quotes in a string, like:

"{\"stringified\": \"content\"}"

Some languages though use a pair of double quotes to escape, for example batch scripts and C# verbatim string literals, . For example:

"{""stringified"": ""content""}"

The jsonrepair library already can repair escaped contents using backslash. It would be nice if it can also repair pairs of double quotes.

@josdejong josdejong added the enhancement New feature or request label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant