Returns information about the DescribeJobFlows response and response metadata.
Inheritance: DescribeJobFlowsResult
 public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
 {
   DescribeJobFlowsResponse response = new DescribeJobFlowsResponse();          
   
   context.Read();
   
   UnmarshallResult(context,response);
   return response;
 }
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            DescribeJobFlowsResponse response = new DescribeJobFlowsResponse();

              context.Read();

              response.DescribeJobFlowsResult = DescribeJobFlowsResultUnmarshaller.GetInstance().Unmarshall(context);

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

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

            return response;
        }
       private static void UnmarshallResult(JsonUnmarshallerContext context,DescribeJobFlowsResponse response)
       {
         
           int originalDepth = context.CurrentDepth;
           int targetDepth = originalDepth + 1;
           while (context.Read())
           {
             
             if (context.TestExpression("JobFlows", targetDepth))
             {
               context.Read();
               
               if (context.CurrentTokenType == JsonToken.Null)
               {
                   response.JobFlows = null;
                   continue;
               }
                 response.JobFlows = new List<JobFlowDetail>();
                 JobFlowDetailUnmarshaller unmarshaller = JobFlowDetailUnmarshaller.GetInstance();
               while (context.Read())
               {
                 JsonToken token = context.CurrentTokenType;                
                 if (token == JsonToken.ArrayStart)
                 {
                   continue;
                 }
                 if (token == JsonToken.ArrayEnd)
                 {
                   break;
                 }
                  response.JobFlows.Add(unmarshaller.Unmarshall(context));
               }
               continue;
             }
 
               if (context.CurrentDepth <= originalDepth)
               {                   
                   return;
               }
           }
                       
           return;
       }                        
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            DescribeJobFlowsResponse response = new DescribeJobFlowsResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if(context.TestExpression("DescribeJobFlowsResult", 2))
                    {
                        response.DescribeJobFlowsResult = DescribeJobFlowsResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }

            return response;
        }