How to link promise the c array of objects with KnockoutJs observable array?

How to associate objects obtained via ajax from a remote service with an observable array in knockout. The difficulty that I have not misrepresented can spendit objects from this array with markup.
Objects of complicated form.
15baece806334d01904cb3a3ec413c92.png
//getDataForPlaces
var getDataForPlaces = function(addresses){
 return Promise.all(Array.prototype.map.call(addresses, function(address) {
 getLocationDesc return(address);
}));

};


//getLocationDesc

var getLocationDesc = function(address){
 return new Promise(function(resolve, reject) {
 var parameters = [];
 parameters.push(['sort', sort]);
 parameters.push(['limit', limit]);
 parameters.push(['radius_filter', radius_filter]);
 parameters.push(['actionlinks', actionlinks]);
 parameters.push(['location', address]);
 parameters.push(['callback', 'callback']);
 parameters.push(['oauth_consumer_key', auth.consumerKey]);
 parameters.push(['oauth_consumer_secret', auth.consumerSecret]);
 parameters.push(['oauth_token', auth.accessToken]);
 parameters.push(['oauth_signature_method', 'HMAC-SHA1']);

 var message = {
 'action' : 'http://api.yelp.com/v2/search',
 'method' : 'GET',
 'parameters' : parameters
};

OAuth.setTimestampAndNonce(message);
 OAuth.SignatureMethod.sign(message, accessor);

 var parameterMap = OAuth.getParameterMap(message.parameters);
$.ajax({
 url : message.action,
 cache : true,
 method : message.method
 data : parameterMap,
 dataType : 'jsonp',
 jsonp : 'callback',
 success : resolve,
 error : reject
});
});
};


//View model

MapViewModel function(){
 var self = this;
 self.categories = ["Choose option", "Bars", "Gyms"];
 var addresses = ["address","address, address",
"address","address",
 "address"]; 
 var yelp = new YelpDataProvider();

 self.places = ko.observableArray();

yelp.getDataForPlaces(addresses).then(function(place){
self.places(place);
})
}

ko.applyBindings(new MapViewModel());


<ul data-bind="foreach: places ">
 <li data-bind="text: business[0].name"></li>
</ul>
July 9th 19 at 13:34
1 answer
July 9th 19 at 13:36
Solution
And what is the difficulty?
You'll either get a model for this case, or to dance with those that is like this:

<ul data-bind="foreach: places ">
 <li data-bind="text: $data.businesses[0].name"></li>
</ul>
Thank you, understood. - Malika72 commented on July 9th 19 at 13:39

Find more questions by tags AJAXJavaScriptKnockout.js