Any ideas in how I could easily get the functionality json-viewer.com/ provides me (-> beautify ) in an -way?

E.g. a command-line tool, a Notepad++ Plugin or something similar?

(My imagined usage would be something like:
$> beautify ugly.json >> beautiful.json )

Follow

Got it, the solution is jq! ( stedolan.github.io/jq/ )

..using the "." Filter does exactly what I wanted:

$> jq . ugly.json >> beautiful.json

Found it by following and thus discovering mastodon.social/@YesIKnowIT/10 !

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!