When I receive the response from server for one string,then i want to send the next json object. I want to check the first object and send the second accordingly. How can re