diff options
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 +``` |