public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
BatchGetDeploymentsResponse response = new BatchGetDeploymentsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("deploymentsInfo", targetDepth))
{
var unmarshaller = new ListUnmarshaller<DeploymentInfo, DeploymentInfoUnmarshaller>(DeploymentInfoUnmarshaller.Instance);
response.DeploymentsInfo = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}