A javascript object created from a JSON response is available in yourStore.reader.jsonDatawhen the store event is loadfired. For example:
yourStore.on('load', function(firstStore) {
var data = firstStore.reader.jsonData;
otherStore.loadData(data);
thirdStore.loadData(data);
}
EDIT: To clarify, for each repository you will need a separate property root(which you already do) so that each of them gets the data.
{
"firstRoot": [...],
"secondRoot": [...],
"thirdRoot": [...]
}
source
share