jq: fix jq syntax error (#4257)
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
- Output the value of multiple keys as a new JSON object (assuming the input JSON has the keys `key_name` and `other_key_name`):
|
||||
|
||||
`cat {{file.json}} | jq '{{{my_new_key}}: .{{key_name}}, {{my_other_key}}: {{other_key_name}}}'`
|
||||
`cat {{file.json}} | jq '{{{my_new_key}}: .{{key_name}}, {{my_other_key}}: .{{other_key_name}}}'`
|
||||
|
||||
- Combine multiple filters:
|
||||
|
||||
|
Reference in New Issue
Block a user