Minifying JSON with `jq` 0 ▲ Jamie Tanna 46 days ago · Tech · hide · Fediverse post As an improvement to my version with Python or with Ruby, with tools like jq now being widely used, how do we minify a JSON string? Given: { "key": [ 123, 456 ], "key2": "value" } We can override the --indent: % jq --indent 0 . < a.json {"key":[123,456],"key2":"value"} Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town