Find password in JSON

How do I go through each item in the json below, so that when I find the desired login, I get the corresponding password?

Json:

[
{ "login":"maria",
"password": "1"
},
{ "login":"jose",
"password": "1"
},
{ "login":"joao",
"password": "1"
},
{ "login":"ana",
"password": "123"
}
]

I managed to do it up to the point shown in the image.

Thank you very much!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.