Store && Json => Get data next to rootProperty
Hi,
I can't find a way to get the values of items that are siblings to the rootProperty in my json.
For instance I have this json :
Code:
{
"itemName":"Hello world",
"users": [{
"id":1,
"name":"Ed Spencer",
"email":"ed@sencha.com"
}, {
"id":2,
"name":"Abe Elias",
"email":"abe@sencha.com"
}]
}
I'd like to map the users to my store, which works with rootProperty, however I cant find a way to retrieve the value of "itemName" from the reader. Is there a way ?
Thanx for helping !