To not waste any free accounts, here is the JSON text of a two recipe return, to study for parsing:
[{"id":654515,"title":"Pandan Smoothie","image":"https://img.spoonacular.com/recipes/654515-312x231.jpg","imageType":"jpg","usedIngredientCount":2,"missedIngredientCount":2,"missedIngredients":[{"id":2004,"amount":5.0,"unit":"","unitLong":"","unitShort":"","aisle":"Produce","name":"pandan leaves click here cut to 2\" length","original":"5 Pandan leaves click here (from my garden) cut to 2\" length","originalName":"Pandan leaves click here (from my garden) cut to 2\" length","meta":["(from my garden)"],"image":"https://img.spoonacular.com/ingredients_100x100/bay-leaves.jpg"},{"id":19296,"amount":6.0,"unit":"tablespoons","unitLong":"tablespoons","unitShort":"Tbsp","aisle":"Nut butters, Jams, and Honey","name":"honey or","original":"6 tablespoons Honey or to taste","originalName":"Honey or to taste","meta":["to taste"],"image":"https://img.spoonacular.com/ingredients_100x100/honey.png"}],"usedIngredients":[{"id":11206,"amount":100.0,"unit":"grams","unitLong":"grams","unitShort":"g","aisle":"Produce","name":"cucumber","original":"100 grams Cucumber, cut into small cubes","originalName":"Cucumber, cut into small cubes","meta":["cut into small cubes"],"image":"https://img.spoonacular.com/ingredients_100x100/cucumber.jpg"},{"id":9200,"amount":3.0,"unit":"","unitLong":"","unitShort":"","aisle":"Produce","name":"oranges","original":"3 Oranges, peeled and quartered","originalName":"Oranges, peeled and quartered","meta":["peeled","quartered"],"image":"https://img.spoonacular.com/ingredients_100x100/orange.png"}],"unusedIngredients":[],"likes":1},{"id":639512,"title":"Citrus Arugula Salad with Seared Scallops","image":"https://img.spoonacular.com/recipes/639512-312x231.png","imageType":"png","usedIngredientCount":2,"missedIngredientCount":4,"missedIngredients":[{"id":11959,"amount":2.0,"unit":"cups","unitLong":"cups","unitShort":"cup","aisle":"Produce","name":"arugula","original":"2 cups arugula","originalName":"arugula","meta":[],"image":"https://img.spoonacular.com/ingredients_100x100/arugula-or-rocket-salad.jpg"},{"id":11429,"amount":2.0,"unit":"","unitLong":"","unitShort":"","aisle":"Produce","name":"radish","original":"2 radish, thinly sliced","originalName":"radish, thinly sliced","meta":["thinly sliced"],"image":"https://img.spoonacular.com/ingredients_100x100/radishes.jpg"},{"id":11291,"amount":1.0,"unit":"","unitLong":"","unitShort":"","aisle":"Produce","name":"green onion","original":"1 green onion, chopped","originalName":"green onion, chopped","meta":["chopped"],"image":"https://img.spoonacular.com/ingredients_100x100/spring-onions.jpg"},{"id":10015172,"amount":8.0,"unit":"","unitLong":"","unitShort":"","aisle":"Seafood","name":"scallops","original":"8 scallops","originalName":"scallops","meta":[],"image":"https://img.spoonacular.com/ingredients_100x100/scallops.jpg"}],"usedIngredients":[{"id":9200,"amount":1.0,"unit":"","unitLong":"","unitShort":"","aisle":"Produce","name":"cara cars orange","original":"1 cara cars orange","originalName":"cara cars orange","meta":[],"image":"https://img.spoonacular.com/ingredients_100x100/orange.png"},{"id":10111205,"amount":0.5,"unit":"","unitLong":"","unitShort":"","aisle":"Produce","name":"persian cucumber","original":"1/2 persian cucumber (or english cucumber), thinly sliced","originalName":"persian cucumber (or english cucumber), thinly sliced","meta":["english","thinly sliced","(or cucumber)"],"extendedName":"english persian cucumber","image":"https://img.spoonacular.com/ingredients_100x100/english-cucumber.png"}],"unusedIngredients":[],"likes":7}]
and here is a NotePad++ prettified version, to expose the nesting better:
[
{
"id": 654515,
"image": "https://img.spoonacular.com/recipes/654515-312x231.jpg",
"imageType": "jpg",
"likes": 1,
"missedIngredientCount": 2,
"missedIngredients": [
{
"aisle": "Produce",
"amount": 5.0,
"id": 2004,
"image": "https://img.spoonacular.com/ingredients_100x100/bay-leaves.jpg",
"meta": [
"(from my garden)"
],
"name": "pandan leaves click here cut to 2\" length",
"original": "5 Pandan leaves click here (from my garden) cut to 2\" length",
"originalName": "Pandan leaves click here (from my garden) cut to 2\" length",
"unit": "",
"unitLong": "",
"unitShort": ""
},
{
"aisle": "Nut butters, Jams, and Honey",
"amount": 6.0,
"id": 19296,
"image": "https://img.spoonacular.com/ingredients_100x100/honey.png",
"meta": [
"to taste"
],
"name": "honey or",
"original": "6 tablespoons Honey or to taste",
"originalName": "Honey or to taste",
"unit": "tablespoons",
"unitLong": "tablespoons",
"unitShort": "Tbsp"
}
],
"title": "Pandan Smoothie",
"unusedIngredients": [
],
"usedIngredientCount": 2,
"usedIngredients": [
{
"aisle": "Produce",
"amount": 100.0,
"id": 11206,
"image": "https://img.spoonacular.com/ingredients_100x100/cucumber.jpg",
"meta": [
"cut into small cubes"
],
"name": "cucumber",
"original": "100 grams Cucumber, cut into small cubes",
"originalName": "Cucumber, cut into small cubes",
"unit": "grams",
"unitLong": "grams",
"unitShort": "g"
},
{
"aisle": "Produce",
"amount": 3.0,
"id": 9200,
"image": "https://img.spoonacular.com/ingredients_100x100/orange.png",
"meta": [
"peeled",
"quartered"
],
"name": "oranges",
"original": "3 Oranges, peeled and quartered",
"originalName": "Oranges, peeled and quartered",
"unit": "",
"unitLong": "",
"unitShort": ""
}
]
},
{
"id": 639512,
"image": "https://img.spoonacular.com/recipes/639512-312x231.png",
"imageType": "png",
"likes": 7,
"missedIngredientCount": 4,
"missedIngredients": [
{
"aisle": "Produce",
"amount": 2.0,
"id": 11959,
"image": "https://img.spoonacular.com/ingredients_100x100/arugula-or-rocket-salad.jpg",
"meta": [
],
"name": "arugula",
"original": "2 cups arugula",
"originalName": "arugula",
"unit": "cups",
"unitLong": "cups",
"unitShort": "cup"
},
{
"aisle": "Produce",
"amount": 2.0,
"id": 11429,
"image": "https://img.spoonacular.com/ingredients_100x100/radishes.jpg",
"meta": [
"thinly sliced"
],
"name": "radish",
"original": "2 radish, thinly sliced",
"originalName": "radish, thinly sliced",
"unit": "",
"unitLong": "",
"unitShort": ""
},
{
"aisle": "Produce",
"amount": 1.0,
"id": 11291,
"image": "https://img.spoonacular.com/ingredients_100x100/spring-onions.jpg",
"meta": [
"chopped"
],
"name": "green onion",
"original": "1 green onion, chopped",
"originalName": "green onion, chopped",
"unit": "",
"unitLong": "",
"unitShort": ""
},
{
"aisle": "Seafood",
"amount": 8.0,
"id": 10015172,
"image": "https://img.spoonacular.com/ingredients_100x100/scallops.jpg",
"meta": [
],
"name": "scallops",
"original": "8 scallops",
"originalName": "scallops",
"unit": "",
"unitLong": "",
"unitShort": ""
}
],
"title": "Citrus Arugula Salad with Seared Scallops",
"unusedIngredients": [
],
"usedIngredientCount": 2,
"usedIngredients": [
{
"aisle": "Produce",
"amount": 1.0,
"id": 9200,
"image": "https://img.spoonacular.com/ingredients_100x100/orange.png",
"meta": [
],
"name": "cara cars orange",
"original": "1 cara cars orange",
"originalName": "cara cars orange",
"unit": "",
"unitLong": "",
"unitShort": ""
},
{
"aisle": "Produce",
"amount": 0.5,
"extendedName": "english persian cucumber",
"id": 10111205,
"image": "https://img.spoonacular.com/ingredients_100x100/english-cucumber.png",
"meta": [
"english",
"thinly sliced",
"(or cucumber)"
],
"name": "persian cucumber",
"original": "1/2 persian cucumber (or english cucumber), thinly sliced",
"originalName": "persian cucumber (or english cucumber), thinly sliced",
"unit": "",
"unitLong": "",
"unitShort": ""
}
]
}
]