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

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
```