From 677ca84ceb201fbad54ebc1462031586691fcca1 Mon Sep 17 00:00:00 2001 From: Harrison Date: Tue, 11 Aug 2020 09:49:43 -0600 Subject: [PATCH] jq: fix jq syntax error (#4257) --- pages/common/jq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/jq.md b/pages/common/jq.md index 42555d759..cedcabd70 100644 --- a/pages/common/jq.md +++ b/pages/common/jq.md @@ -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: