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