I have these data fetched from an API call:

I want to show these data to select option elements so I have this line of codes in my AJAX script file:
$.each($(value.routes), function(index, route){
$('.searchable-select').append('\
<option value="'+route+'"> From: '+route+'</option>\
');
});
How can I set the option value as 1 and 2 and the string ("From:...") as the text from this object?
routefor the valueroutesand pass thedatato the<option value="${index}">${valueString}</option>and append it on the<select>right?