Skip to content

Instantly share code, notes, and snippets.

@breenie
Created March 16, 2017 10:21
Show Gist options
  • Select an option

  • Save breenie/34a692867df1653d28ec5b950fadf0dc to your computer and use it in GitHub Desktop.

Select an option

Save breenie/34a692867df1653d28ec5b950fadf0dc to your computer and use it in GitHub Desktop.
jq find node by child value
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