From cdee3ffab8ec76291ec4bba5370aafed1a1f47ed Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Wed, 28 Apr 2021 13:08:40 +0700 Subject: Add TIL section --- content/til/json-output-format.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 content/til/json-output-format.md (limited to 'content/til/json-output-format.md') 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 + | jq -C | less -r +``` -- cgit 1.4.1