public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            MergeDeveloperIdentitiesResponse mergeDeveloperIdentitiesResponse = new MergeDeveloperIdentitiesResponse();

            context.Read();
            int currentDepth = context.CurrentDepth;

            while (context.ReadAtDepth(currentDepth))
            {
                if (context.TestExpression("IdentityId", currentDepth))
                {
                    StringUnmarshaller instance = StringUnmarshaller.Instance;
                    mergeDeveloperIdentitiesResponse.IdentityId = instance.Unmarshall(context);
                }
            }
            return(mergeDeveloperIdentitiesResponse);
        }
예제 #2
0
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            MergeDeveloperIdentitiesResponse response = new MergeDeveloperIdentitiesResponse();

            context.Read();
            int targetDepth = context.CurrentDepth;

            while (context.ReadAtDepth(targetDepth))
            {
                if (context.TestExpression("IdentityId", targetDepth))
                {
                    var unmarshaller = StringUnmarshaller.Instance;
                    response.IdentityId = unmarshaller.Unmarshall(context);
                    continue;
                }
            }

            return(response);
        }