www.byjp.me/content/posts/tumblr-musings/pretty-json-in-the-terminal.md
JP Hastings-Spital f5de48f10b Code blocks now have dark/light mode styling
Went with something fun I found online (ref in scss source) and adapted.
2024-10-30 09:30:19 +00:00

22 lines
594 B
Markdown

---
title: Pretty JSON in the terminal
date: 2013-03-20T16:02:00+00:00
draft: false
emoji: ✨
tags:
- terminal
- tools
- from-tumblr
---
[kaspertidemann.com](https://web.archive.org/web/20141024021149/http://www.kaspertidemann.com/pretty-printing-json-in-the-terminal/)
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](https://github.com/jmhodges/jsonpp):
```bash
brew install jsonpp
curl -u username:password https://awesome.com/stuff.json | jsonpp
```
BOOM. As they say.