Returns information about the DescribeRaidArraysResult response and response metadata.
Inheritance: Amazon.Runtime.AmazonWebServiceResponse
 public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
 {
   DescribeRaidArraysResponse response = new DescribeRaidArraysResponse();          
   
   context.Read();
   
   UnmarshallResult(context,response);
   return response;
 }
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            DescribeRaidArraysResponse response = new DescribeRaidArraysResponse();

              context.Read();

              response.DescribeRaidArraysResult = DescribeRaidArraysResultUnmarshaller.GetInstance().Unmarshall(context);

              return response;
        }
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            DescribeRaidArraysResponse response = new DescribeRaidArraysResponse();

            context.Read();
            int targetDepth = context.CurrentDepth;
            while (context.ReadAtDepth(targetDepth))
            {
                if (context.TestExpression("RaidArrays", targetDepth))
                {
                    var unmarshaller = new ListUnmarshaller<RaidArray, RaidArrayUnmarshaller>(RaidArrayUnmarshaller.Instance);
                    response.RaidArrays = unmarshaller.Unmarshall(context);
                    continue;
                }
            }

            return response;
        }
       private static void UnmarshallResult(JsonUnmarshallerContext context,DescribeRaidArraysResponse response)
       {
         
           int originalDepth = context.CurrentDepth;
           int targetDepth = originalDepth + 1;
           while (context.Read())
           {
             
             if (context.TestExpression("RaidArrays", targetDepth))
             {
               context.Read();
               response.RaidArrays = new List<RaidArray>();
                       RaidArrayUnmarshaller unmarshaller = RaidArrayUnmarshaller.GetInstance();
               while (context.Read())
               {
                 JsonToken token = context.CurrentTokenType;                
                 if (token == JsonToken.ArrayStart)
                 {
                   continue;
                 }
                 if (token == JsonToken.ArrayEnd)
                 {
                   break;
                 }
                  response.RaidArrays.Add(unmarshaller.Unmarshall(context));
               }
               continue;
             }
 
               if (context.CurrentDepth <= originalDepth)
               {                   
                   return;
               }
           }
                       
           return;
       }