24 апр. 2014 г. · I've got an arbitrary structure with many levels, etc. I need to select all objects that contain a key named updateDate. How do I do that with jq? |
8 апр. 2015 г. · Given an input json string of keys from an array, return an object with only the entries that had keys in the original object and in the input array. |
16 апр. 2014 г. · To get the keys in the order they appear in the original JSON use: jq 'keys_unsorted' file.json. If you want the keys sorted ... |
3 сент. 2013 г. · I am using jq and want to get the "name" elements of the objects where 'location' is 'Stockholm'. I know I can get all names by cat json | jq .[] | jq ."name" ... |
24 февр. 2023 г. · I'm using jq to try to parse some details from an AWS CLI query. Example JSON: "Tags": [ { "Key": "Name", "Value": "db01" }, { "Key": " ... |
16 авг. 2018 г. · It looks like you want to take a "slice" of the object by selecting just those keys containing a certain string. |
19 мар. 2019 г. · I am trying to select credential objects only if key credhub-ref exist within them from the following JSON. |
7 февр. 2017 г. · To test for the presence of a property, you should use has/1, but in the present context, it would probably be better to use the postfix ? operator. |
28 нояб. 2021 г. · I want to use that list in jq to filter out JSON values by a certain key value, which coincides with one value from the list. |
24 окт. 2023 г. · Using 'select' on the abbreviation '.array[].key' seems having totally different output. I think I missed some important understanding about jq ... |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |