Not able to get the data from the JSON in OpenSocial App!
Posted
by Abhishek
on Stack Overflow
See other posts from Stack Overflow
or by Abhishek
Published on 2010-03-16T04:48:50Z
Indexed on
2010/03/17
8:11 UTC
Read the original article
Hit count: 207
I have follwing JSON: {"mykey":[{name:"Jak",interests:"movies"}]}
and following opensocial app code:
<script type="text/os-template" require="mykey">
<ul>
<li repeat="${mykey}">
<span>Offer id: ${Cur.name}</span>
<span>Offer: ${Cur.interests}</span>
</li>
</ul>
</script>
but the App is not able to get the data from the JSON? Not able to find out the issue!
© Stack Overflow or respective owner