public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ListApplicationsResponse response = new ListApplicationsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("ApplicationSummaries", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ApplicationSummary, ApplicationSummaryUnmarshaller>(ApplicationSummaryUnmarshaller.Instance);
response.ApplicationSummaries = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("HasMoreApplications", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.HasMoreApplications = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}