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

Format single quoted JSON #309

Closed
sachindayl opened this issue Oct 30, 2021 · 3 comments · May be fixed by #336
Closed

Format single quoted JSON #309

sachindayl opened this issue Oct 30, 2021 · 3 comments · May be fixed by #336

Comments

@sachindayl
Copy link

Formatting a single-quoted JSON body gives invalid JSON. Please check if the body has single quotes, convert them to double quotes, and then format JSON.

@Joshfindit
Copy link

I will likely make a script for "Convert all quotes to single quotes" and "Convert all quotes to double quotes" which would mean that this issue could be closed as a user would be able to convert quotes before formatting.

@sachindayl
Copy link
Author

That should work! thank you.

@Joshfindit
Copy link

Added those scripts:

https://github.com/IvanMathy/Boop/pull/336/files

Feel free to download them and add them to your scripts folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants