public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
GetInstanceResponse response = new GetInstanceResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("instance", targetDepth))
{
var unmarshaller = InstanceUnmarshaller.Instance;
response.Instance = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}