Boop icon indicating copy to clipboard operation
Boop copied to clipboard

Format single quoted JSON

Open sachindayl opened this issue 3 years ago • 3 comments

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.

sachindayl avatar Oct 30 '21 08:10 sachindayl

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.

Joshfindit avatar May 11 '22 17:05 Joshfindit

That should work! thank you.

sachindayl avatar May 13 '22 17:05 sachindayl

Added those scripts:

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

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

Joshfindit avatar May 15 '22 13:05 Joshfindit