views:

16

answers:

1

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!

A: 
Abhishek