Skip to content

Commit 00bbb25

Browse files
committed
chore: mention bat CLI tool for JSON viewing
1 parent a171374 commit 00bbb25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lessons/3/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,6 @@ The output should be:
131131
[{"id":"001","primary_color":"black","secondary_color":"blue","length":"full","air_conditioner":"true","amenities":"wheelchair ramp, tissue boxes, cup holders, USB ports"},{"id":"002","primary_color":"black","secondary_color":"red","length":"full","air_conditioner":"true","amenities":"wheelchair ramp, tissue boxes, USB ports"},{"id":"003","primary_color":"white","secondary_color":"blue","length":"half","air_conditioner":"true","amenities":"wheelchair ramp, tissue boxes"},{"id":"004","primary_color":"orange","secondary_color":"blue","length":"full","air_conditioner":"false","amenities":"wheelchair ramp, tissue boxes, USB ports"},{"id":"005","primary_color":"black","secondary_color":"blue","length":"full","air_conditioner":"true","amenities":"wheelchair ramp, tissue boxes, cup holders, USB ports"}]
132132
```
133133

134-
If you have jaq installed then you could pipe this output into `jaq .` to view the data in a prettier format.
134+
If you have jaq installed then you could pipe this output into `jaq .` to view the data in a prettier format and further if you have [bat](https://github.com/sharkdp/bat) installed then pipe the `jaq .` output into `bat -l json` for an interactive view.
135135

136136
::::

0 commit comments

Comments
 (0)