Live data from Hacker News

Show HN: JSON Pizza – Beautify your JSON quickly

json.pizza

11–20 of 81 posts

Re: Show HN: JSON Pizza – Beautify your JSON quickly

#17
post #6

Non web based approach using jq ( https://stedolan.github.io/jq/ ): json_source_on_stdout | jq .

Or on macOS, to quickly format the contents of your clipboard: pbpaste | jq . | pbcopy Pretty sure this is one of my most frequent commands.

You can use Automator to create a service with a shell script action; just pick Quick Action, the rest should be pretty obvious.

Re: Show HN: JSON Pizza – Beautify your JSON quickly

#19
Not to threadcrap, but I am curious what people think about this.

Over the years I've seen a lot of developers take none open-source code, or private JSON data strings and paste them into random sites they find searching "json format" on google.

Does that make anyone else cringe? Is there anything we can do about this? Or is this just not a big deal and I shouldn't worry.

Post reply on HN