Take a look at this JSON document:
[
{
"title":"Potato and Cheese Frittata",
"href":"http://allrecipes.com/Recipe/Potato-and-Cheese-Frittata/Detail.aspx",
"ingredients":"cheddar cheese, eggs, olive oil, onions, potato, salt",
"thumbnail":"http://img.recipepuppy.com/2.jpg"
},
{
"title":"Eggnog Thumbprints",
"href":"http://allrecipes.com/Recipe/Eggnog-Thumbprints/Detail.aspx",
"ingredients":"brown sugar, butter, butter, powdered sugar, eggs, flour, nutmeg, rum, salt, vanilla extract, sugar",
"thumbnail":"http://img.recipepuppy.com/3.jpg"
},
{
"title":"Irish Champ",
"href":"http://allrecipes.com/Recipe/Irish-Champ/Detail.aspx",
"ingredients":"black pepper, butter, green onion, milk, potato, salt",
"thumbnail":"http://img.recipepuppy.com/5.jpg"
},
{
"title":"Chocolate-Cherry Thumbprints",
"href":"http://allrecipes.com/Recipe/Chocolate-Cherry-Thumbprints/Detail.aspx",
"ingredients":"cocoa powder, baking powder, butter, eggs, flour, oats, salt, sugar, vanilla extract",
"thumbnail":"http://img.recipepuppy.com/6.jpg"
},
{
"title":"Hot Spiced Cider",
"href":"http://allrecipes.com/Recipe/Hot-Spiced-Cider/Detail.aspx",
"ingredients":"allspice, apple cider, brown sugar, cinnamon, cloves, nutmeg, orange, salt",
"thumbnail":"http://img.recipepuppy.com/8.jpg"
}
]
I'm trying to extract only the titles
for each result
. For example, from this data I want to retrieve (Potato and Cheese Frittata, Eggnog Thumbprints, Chocolate-Cherry Thumbprints, Hot Spiced Cider).
Your assistance is greatly appreciated!