Have you tried the following?
<div repeat="${owner_data[owner.id].videos}">
${Cur.title}
</div>
On 31 mar, 16:06, Jota <[email protected]> wrote:
> Hi Vijaya,
> I've tried this way but I'm still having problems...
>
> I've tried:
> ${owner_data[owner.id][videos][title]}
> ${owner_data[owner.id][videos].title}
> ${owner_data[owner.id][videos.title]}
> ${owner_data[owner.id][videos[title]]}
> ${owner_data[owner.id][videos][0].title}
> ${owner_data[owner.id][videos].[0].title}
> ${owner_data[owner.id][videos].0.title}
> ${owner_data[owner.id][videos[0]].title}
>
> and anyone returns anything...
>
> remembering my JSON is:
> {"videos":"[
> {
> \"id\":\"--gFgYElfTg\",
> \"thumb\":\"http://img.youtube.com/vi/--gFgYElfTg/2.jpg\",
> \"link\":\"http://www.youtube.com/watch?v=--gFgYElfTg\",
> \"title\":\"1º Gol de Ronaldo Fenômeno no Timão - Corinthians vs
> Palmeiras 08/03/2009\",
> \"duration\":\"150\",
> \"author\":\"MathiasCasavant\",
> \"views\":\"\",
> \"comments\":\"0\",
> \"date_added\":1236801167561,
> \"user_description\":\"\"
> },{
> \"id\":\"eQVwQyixF6M\",
> \"thumb\":\"http://img.youtube.com/vi/eQVwQyixF6M/2.jpg\",
> \"link\":\"http://www.youtube.com/watch?v=eQVwQyixF6M\",
> \"title\":\"Corinthians x São Caetano Goals 11/03/2009 Gol, Ronaldo
> scores Timão\",
> \"duration\":\"190\",
> \"author\":\"lekfmz\",
> \"views\":\"\",
> \"comments\":\"0\",
> \"date_added\":1236870088794,
> \"user_description\":\"\"
> }
> ]"}
>
> On Tue, Mar 31, 2009 at 9:46 AM, Vijaya <[email protected]> wrote:
>
> > To parse, the JSON data, you can use something like: ${owner_data
> > [owner.id][videos]}
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---