If I have a list of strings, how can I search for all values in a key-value object using my list of strings, and then return the corresponding keys?
"listOfStrings": ["4444", "5555"]
"secretCodes": [
{
"secret": "John",
"value": "4444"
},
{
"secret": "Paul",
"value": "0001"
},
{
"secret": "George",
"value": "0002"
},
{
"secret": "Ringo",
"value": "5555"
},
{
"secret": "Pete",
"value": "0008"
}
]