diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-04-24 22:47:39 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-04-24 22:48:05 +0700 |
commit | 11a7b9b66ce34258a895d2d875fe1e7c0a278b9c (patch) | |
tree | f73ad46b083c4edf90736f99a74609ff1451f59a /content/sw-notes/json-output-format.md | |
parent | 94f18e532f73ea80076953daf9b3a616378e91eb (diff) | |
download | blog-11a7b9b66ce34258a895d2d875fe1e7c0a278b9c.tar.gz |
Rename TIL to software notes
Diffstat (limited to 'content/sw-notes/json-output-format.md')
-rw-r--r-- | content/sw-notes/json-output-format.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/content/sw-notes/json-output-format.md b/content/sw-notes/json-output-format.md new file mode 100644 index 0000000..e22cfbf --- /dev/null +++ b/content/sw-notes/json-output-format.md @@ -0,0 +1,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 +``` |