Amazon.DataPipeline.Model.Internal.MarshallTransformations.EvaluateExpressionResponseUnmarshaller.UnmarshallResult C# (CSharp) Метод

UnmarshallResult() приватный статический Метод

private static UnmarshallResult ( JsonUnmarshallerContext context, EvaluateExpressionResponse response ) : void
context Amazon.Runtime.Internal.Transform.JsonUnmarshallerContext
response Amazon.DataPipeline.Model.EvaluateExpressionResponse
Результат void
        private static void UnmarshallResult(JsonUnmarshallerContext context,EvaluateExpressionResponse response)
        {
          
            int originalDepth = context.CurrentDepth;
            int targetDepth = originalDepth + 1;
            while (context.Read())
            {
              
              if (context.TestExpression("evaluatedExpression", targetDepth))
              {
                context.Read();
                response.EvaluatedExpression = StringUnmarshaller.GetInstance().Unmarshall(context);
                continue;
              }
  
                if (context.CurrentDepth <= originalDepth)
                {                   
                    return;
                }
            }
                        
            return;
        }