www.byjp.me/content/posts/tumblr-musings/pretty-json-in-the-terminal.md
JP Hastings-Spital b8cc9ee66d Remove leading newlines
This standardises all my markdown files to have no leading newline after the `---` that ends the frontmatter.

This makes display on Gemini (in which newlines matter) much more consistent!

I can't spot any errors with the regex I used here, but there may be one or two articles that change shape — hopefully I can spot them and fix them!
2024-06-20 13:40:54 +01:00

591 B

title date draft emoji tags
Pretty JSON in the terminal 2013-03-20T16:02:00+00:00 false
terminal
tools
from-tumblr

kaspertidemann.com

This was exactly what I was looking for.

If you're investingating JSON returned from a web service, get the control you need with the terminal and jsonpp:

brew install jsonpp
curl -u username:password http://awesome.com/stuff.json | jsonpp 

BOOM. As they say.