summary refs log tree commit diff
path: root/content/notes/json-output-format.md
blob: 47cb6214460864d59212516d9d93655e50eef1f2dd94b44a7f37646bc7ef1247 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
+++
title = "Formatting JSON Output with jq"
date = 2021-04-27
categories = ["software", "guide"]
tags = ["bash", "cli", "json", "jq", "less"]
program = "jq"
+++

TIL: Syntax-highlighted JSON output

If you have some command that return (long) JSON, you can view it formatted
with color with: 

```bash
<command> | jq -C | less -r
```