The json code is a data representation. You can either treat it as a string, and use php's string parsing functions to get what you need, or you can load this into an array or an object. I will focus on the array approach, as it maintains the structure the JSON was intended to represent. There is a function json_decode() which will take your json and turn it into an array:
$jsondata = '{"Results":[{"username":"test","password":"test"},
{"username":"test","password":"test"},
{"username":"google","password":"test"},
{"username":"yahoo","password":"test"}]}';
$jsonArray = json_decode($jsondata, true);
Once you have this array, you can loop through it to find the value you want:
foreach($jsonArray["Results"] as $user) {
if($user['username'] == 'google') {
echo "Password = " . $user['password'];
}
}
That should pretty much handle your case. Note that your JSON is missing a "{" Before the "Results" element, you can go here to validate your JSON code before running json_decode on it.