Created
May 4, 2021 09:05
-
-
Save soobrosa/2e399232e5e807b7d4d2cf74ec2a2870 to your computer and use it in GitHub Desktop.
Two commands that got me closer to the nested things.
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
cat recipes_vegan.json | jq '.recipes[].extendedIngredients[]' | jq '[.id,.aisle,.image,.consistency,.name,.nameClean,.original,.originalString,.originalName,.amount,.unit,.meta[],.metaInformation[],.measures.metric.amount,.measures.metric.unitShort,.measures.metric.unitLong]' -c | |
cat recipes_vegan.json | jq '.recipes[].analyzedInstructions[].steps[]' | jq '[.number, .step, .ingredients[].id, .ingredients[].name, .ingredients[].localizedName, .ingredients[].image]' -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment