diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-04-28 13:08:40 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-04-28 13:08:40 +0700 |
commit | cdee3ffab8ec76291ec4bba5370aafed1a1f47ed (patch) | |
tree | 9f23070b5d88e111594dc8fd2e602dd0a087733e /content/til/json-output-format.md | |
parent | fd7c479383add732f2e855d6eaf3712f6742cac1 (diff) | |
download | blog-cdee3ffab8ec76291ec4bba5370aafed1a1f47ed.tar.gz |
Add TIL section
Diffstat (limited to 'content/til/json-output-format.md')
-rw-r--r-- | content/til/json-output-format.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/content/til/json-output-format.md b/content/til/json-output-format.md new file mode 100644 index 0000000..5bbc153 --- /dev/null +++ b/content/til/json-output-format.md @@ -0,0 +1,15 @@ +--- +title: "TIL: Formatting JSON Output" +date: 2021-04-27T17:06:51+07:00 +translationKey: json-output-format +tags: [bash, cli, json, trick] +--- + +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 +``` |