public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
RemoveTargetsResponse response = new RemoveTargetsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("FailedEntries", targetDepth))
{
var unmarshaller = new ListUnmarshaller<RemoveTargetsResultEntry, RemoveTargetsResultEntryUnmarshaller>(RemoveTargetsResultEntryUnmarshaller.Instance);
response.FailedEntries = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}