my Current json code :
{\"Results\":[{\"username\":\"test\",\"password\":\"test\"},{\"username\":\"test\",\"password\":\"test\"},{\"username\":\"google\",\"p
Old question, formatting your JSON differently would help a lot. Each result entry should have a unique key to identify it. This makes it easy when needing to remove or update that result. No reason to iterate over entire JSON this way.
Code would look like this
?>