public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ListWebACLsResponse response = new ListWebACLsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("NextMarker", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextMarker = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("WebACLs", targetDepth))
{
var unmarshaller = new ListUnmarshaller<WebACLSummary, WebACLSummaryUnmarshaller>(WebACLSummaryUnmarshaller.Instance);
response.WebACLs = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}