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