I have a json array that i have added in this way
var all_routes = [];
var entry = {
'name':routeName,
'title':routeTitle,
'icon':routeIcon
};
all_routes.push(entry);
I want to only return the arrays that match a specific string. I have this fiddle https://jsfiddle.net/codebreaker87/36mwbd2k/3/
I want to return the arrays that contain that specific string for iteration.