From 11a7b9b66ce34258a895d2d875fe1e7c0a278b9c Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Wed, 24 Apr 2024 22:47:39 +0700 Subject: Rename TIL to software notes --- content/sw-notes/json-output-format.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 content/sw-notes/json-output-format.md (limited to 'content/sw-notes/json-output-format.md') 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 + | jq -C | less -r +``` -- cgit 1.4.1