Created
March 16, 2017 10:21
-
-
Save breenie/34a692867df1653d28ec5b950fadf0dc to your computer and use it in GitHub Desktop.
jq find node by child value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jq -r '.data[] | select(.thing.key == "value") | .thing.value_you_want' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment