I have the following json string:
[{"name": "John", "room": "A"},
{"name": "Nick", "room": "A"},
{"name": "Bill", "room": "B"}]
How can I extract the records whose "room" value equals "A" without iterating over all of them explicitly?
I'm looking for a simple way to search over elements.