my Current json code :
{\"Results\":[{\"username\":\"test\",\"password\":\"test\"},{\"username\":\"test\",\"password\":\"test\"},{\"username\":\"google\",\"p
$json = '
{
"Results":[
{"username":"test","password":"test"},
{"username":"test","password":"test"},
{"username":"google","password":"test"},
{"username":"yahoo","password":"test"},
{"username":"hotmail","password":"test"}
]
}';
$arr = json_decode($json, true);
array_filter($arr, function($v) {
return !($v['username'] == 'google' && $v['password'] == 'test');
});
$json = json_encode($arr);