about summary refs log tree commit diff
path: root/content/notes/json-output-format.md
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2025-02-24 17:18:18 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2025-02-24 17:18:18 +0700
commit3eff2d874bc0dc5fa7544e5889a3325336342653 (patch)
tree0f1ad9df0dfa99f02db3aeab5cb74c2deeb6f9cb /content/notes/json-output-format.md
parent1315358300c30347bee3ba7e9cf3b8caab32989b (diff)
downloadblog-3eff2d874bc0dc5fa7544e5889a3325336342653.tar.gz
Remove translations revamp
Diffstat (limited to 'content/notes/json-output-format.md')
-rw-r--r--content/notes/json-output-format.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/content/notes/json-output-format.md b/content/notes/json-output-format.md
new file mode 100644
index 0000000..e22cfbf
--- /dev/null
+++ b/content/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
+```