I have the following array:
response = [{\"label\"=>\"cat\", \"name\"=>\"kitty\", \"id\"=>189955}, {\"label\" => \"dog\", \"name\"=>\"rex\", \"id\
Try:
response.select { |x| x["label"] == "cat" }