public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
CreateKeyResponse response = new CreateKeyResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("KeyMetadata", targetDepth))
{
var unmarshaller = KeyMetadataUnmarshaller.Instance;
response.KeyMetadata = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}