Change the search_obj and it will match for the matching values in the array and filter it.
enter results in console to check the resulting array of objects.
const set = [
{
"property_label": "Brand New, Stylish And Modern Apartment",
"property_description": "The Address residences is a part of Dubai Marina Mall’s hotel and offers its residents daily, fully serviced accommodation. Overlooking the Marina Walk with full views of the water, it is a premium destination. It is minutes from Dubai’s Marina Mall, one of the largest in Dubai.",
"location": "Vincitore Boulevard, Arjan, Dubai",
"purpose": "Rent",
"frequency": "Monthly",
"price": "20000",
"property_type": "Duplex",
"furnishing_type": "Fully furnished",
"bedroom_count": "5 Bedrooms",
"area": "600",
"geo": {
"latitude": '123123123123N',
"longitude": "1231acasc122"
},
"banner_image_url": "images/propery_image.png",
"other_images": ['images/propery_image.png', 'images/propery_image.png'],
"amenities": [{
"Label": "Apartment",
"icon": "images/propery_image.png"
}, {
"Label": "1Bed",
"icon": "images/propery_image.png"
}, {
"Label": "2Baths",
"icon": "images/propery_image.png"
}, {
"Label": "750sqft",
"icon": "images/propery_image.png"
}],
"reference_no": "1657-Ap-R-0059",
"amenity_detail": [{
"label": "BUILDING",
"keywords": ["Balcony or Terrace", "Lobby in Building", "Reception/Waiting Room"]
}, {
"label": "HEALTH & FITNESS",
"keywords": ["Gym or Health Club", "Swimming Pool"]
}],
"agent_details": {
"name": "Sophie Raphel",
"languages": ["English", "Arab"],
"ded": "654713",
"permit": "681178132916",
"contact": "9012312312",
"email": "[email protected]"
},
"advertisment_url": "images/propery_image.png"
},
{
"property_label": "Brand New, Stylish And Modern Apartment",
"property_description": "The Address residences is a part of Dubai Marina Mall’s hotel and offers its residents daily, fully serviced accommodation. Overlooking the Marina Walk with full views of the water, it is a premium destination. It is minutes from Dubai’s Marina...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.