Compact JSON to the smallest valid form.
Remove every unnecessary space and line break from a JSON document. The input is parsed first, so you also find out if it is invalid, and the output is guaranteed to be valid JSON.
Does minifying change the data?
No. Only whitespace outside strings is removed. Keys, values and their order stay the same.
Input: text. No account needed within the free limit; a token with tools.tool.run raises it.
curl -X POST https://openvibe.tools/api/v1/tools/jsonminify/run \
-H 'Content-Type: application/json' \
-d '{"input":{"text":"{\n \"a\": 1\n}"}}'