public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
GetDocumentationVersionResponse response = new GetDocumentationVersionResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("createdDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.CreatedDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("version", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Version = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}