Boop
Boop copied to clipboard
Create Stringify.js
Adds a script to run JSON.stringify() over input but that Boop returns a usable JSON string object.
Example input:
{
"json": [
"abc",
"def"
]
}
returns:
"{\"json\": [\"abc\",\"def\"]}"
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
This is a great addition! Saves me from having to go to https://onlinejsontools.com/stringify-json or opening a console window in Firefox!
Also, as an aside, if you don't remove the \n, sometimes will choke (AWS secrets manager CLI, I'm looking at you)
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Is there any unstringify also?