public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
DescribeEntityAggregatesResponse response = new DescribeEntityAggregatesResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("entityAggregates", targetDepth))
{
var unmarshaller = new ListUnmarshaller<EntityAggregate, EntityAggregateUnmarshaller>(EntityAggregateUnmarshaller.Instance);
response.EntityAggregates = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}