public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ListLaunchPathsResponse response = new ListLaunchPathsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("LaunchPathSummaries", targetDepth))
{
var unmarshaller = new ListUnmarshaller<LaunchPathSummary, LaunchPathSummaryUnmarshaller>(LaunchPathSummaryUnmarshaller.Instance);
response.LaunchPathSummaries = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("NextPageToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextPageToken = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}