mirror of https://github.com/CrimsonTome/tldr.git
jq: correct description of example (#4299)
parent
e815eb4c6e
commit
5951942143
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
`jq . {{file.json}}`
|
`jq . {{file.json}}`
|
||||||
|
|
||||||
- Output all elements from arrays (or all key-value pairs from objects) in a JSON file:
|
- Output all elements from arrays (or all the values from objects) in a JSON file:
|
||||||
|
|
||||||
`jq '.[]' {{file.json}}`
|
`jq '.[]' {{file.json}}`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue