about summary refs log tree commit diff
path: root/content/sw-notes/json-output-format.md
blob: e22cfbfb3bfb1aa5d6e71b80dc61286ab91f9460 (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-27T17:06:51+07:00
translationKey: json-output-format
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
```