0

refomat json output from a yahoo pipe

When I get back json from a yahoo pipe it comes back with the count and tile, description, link, pubdate and a bunch of other attributes before the items. I need to get back just the items . Is there a way to do that? I would like all this removed.... {

"count": 12,
"value": {
    "title": "Sub-element Module Example",
    "description": "This example uses a feed described above and extracts each VERSE sub-element. To make the resulting data more readable in the Pipes Preview, we also pass the data through a Rename module to copy the verse into a title element.",
    "link": "<http://pipes.yahoo.com/pipes/pipe.info?_id=NLmQKeFS3BGL63j8ODY80A>",
    "pubDate": "Wed, 25 Sep 2013 20:59:55 +0000",
    "generator": "<http://pipes.yahoo.com/pipes/>",
    "callback": "",
    "items":

and only have the following....

[

{
    "title": "So is it not with me as with that Muse",
    "content": "So is it not with me as with that Muse",
    "description": null
},
{
    "title": "Stirr'd by a painted beauty to his verse,",
    "content": "Stirr'd by a painted beauty to his verse,",
    "description": null
},
{
    "title": "Who heaven itself for ornament doth use",
    "content": "Who heaven itself for ornament doth use",
    "description": null
},
{
    "title": "And every fair with his fair doth rehearse;",
    "content": "And every fair with his fair doth rehearse;",
    "description": null
},
{
    "title": "Making a couplement of proud compare",
    "content": "Making a couplement of proud compare",
    "description": null
},
{
    "title": "With sun and moon, with earth and sea's rich \n gems,",
    "content": "With sun and moon, with earth and sea's rich \n gems,",
    "description": null
},
{
    "title": "With April's first-born flowers, and all things \n rare",
    "content": "With April's first-born flowers, and all things \n rare",
    "description": null
},
{
    "title": "That heaven's air in this huge rondure hems.",
    "content": "That heaven's air in this huge rondure hems.",
    "description": null
},
{
    "title": "O, let me, true in love, but truly write,",
    "content": "O, let me, true in love, but truly write,",
    "description": null
},
{
    "title": "And then believe me, my love is as fair",
    "content": "And then believe me, my love is as fair",
    "description": null
},
{
    "title": "As any mother's child, though not so bright",
    "content": "As any mother's child, though not so bright",
    "description": null
},
{
    "title": "As those gold candles fix'd in heaven's air.",
    "content": "As those gold candles fix'd in heaven's air.",
    "description": null
}

]

I looked at the subelement but this also include the overhead as well.

by
1 Reply

Recent Posts

in Pipes