public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
DescribeTagsResponse response = new DescribeTagsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("resourceTags", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ResourceTag, ResourceTagUnmarshaller>(ResourceTagUnmarshaller.Instance);
response.ResourceTags = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}