How to disable JSON fanciness?

I'm making a JSON library, and I want to know how to disable the JSON fanciness when using the [json] of list block. or at least remove the newlines and indents from the output before reporting.
Here's a link to the project, so it can be easier to help.

Instead of writing your own list to json script, you can instead just use this simple script to minify the json. Now, admittedly, this only removes spaces from the beginning and end of lines, it does not remove spaces between values on the same line.



JSON Blocks script pic (2)

Again, this only removes spaces if each value is on it's own line, it does not remove spaces between values on the same line. If you want that, then maybe creating your own list to json converter may be the best option.

I remember it used to write minified JSON in older versions.

The point is, you can take what it gives you, and use SPLIT, MAP, and JOIN to massage it however you want. It's not that hard to learn how to format text. You don't need JSON-specific features to do that.