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