mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 22:16:07 +01:00
22 lines
594 B
Markdown
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.
|