Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 104
Registered: ‎04-15-2012
My Device: BlackBerry PlayBook with OS 2.0
My Carrier: N/A

JSON Models



I'm completely new to Cascades and I started learning from the samples. I'm making an app similar to the Bucket List sample, but with a difference- in my app, from the initial list of tasks, there is another sublevel of tasks. For example, see this:


  • Groceries
    • Eggs
    • Milk
    • Cornflakes
  • Homework
    • Biology
  • Library Books
    • The Count of Monte Cristo
    • Les Miserables


So its basically a list within a list. How I can I do this by using JSON? The JSON model and how to access it using (preferably) QML?


Any help much appreciated!

My BlackBerry 10 apps: Roshnal Lihinikadu
Lots more coming up!
New Contributor
Posts: 9
Registered: ‎11-08-2012
My Device: BB 10
My Carrier: Divum

Re: JSON Models



Refer to the following example. 




and also have a look at how DataSource works